New IT forum Follow us on Twitter
23 May 2012, 04:34:15 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: EFIKA MX now in stock!
 
   Home   SHOP Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Booting from native eSata drive  (Read 3038 times)
peter a
Full Member
***
Posts: 162


« Reply #15 on: 29 December 2010, 02:20:48 pm »

No not really , you just have to thing ahead !!!!!!!

Just put your root file system on the sd card or on the Esata port, don`t split up the root file system up.
How I did it is , I made 4 partition on my Esata drive , (1 )Uimage , (2)rts , (3)swap , (4)mapped data.
Now I can boot from the sd card and mount partition 4 and leave the other 3 partitions blank untill you want to fully move over to the esata drive.


Logged
apemberton
Full Member
***
Posts: 101


« Reply #16 on: 29 December 2010, 06:51:15 pm »

Quote
No not really , you just have to thing ahead !!!!!!!

I'm sorry but I do find find that remark insulting!

I just wish I had followed my instincts (bred from years of PC application transfers) rather than doing a straight copy as previously suggested.

I am now operating to MY satisfaction and I will not add more to this thread.
 


Logged

Tony Pemberton
peter a
Full Member
***
Posts: 162


« Reply #17 on: 29 December 2010, 10:51:03 pm »

Sorry, it wasn`t meant to be a insult  !!!!.

I was just saying that when I started using the Esata port I thought ahead and left space so I could boot from the Esata port after.

To me “with a big , this is my personal opinion” it is ALL WAYS best not to split up to operating system between different drives “ AND“ to put data , which I call music , picture etc on a different drive OR partition, so you can reinstall the operating system and keep your data partition intact. 

I will be polite and stop here. Peter a
Logged
peter a
Full Member
***
Posts: 162


« Reply #18 on: 31 January 2011, 09:54:11 am »

oops , having problems myself,

it would be easy if http://sheeva.with-linux.com/ had the esata kernel modules built in.

make your own version one failed, I must have missed building in something .
Logged
apemberton
Full Member
***
Posts: 101


« Reply #19 on: 31 January 2011, 08:37:24 pm »

I think NewIT have a built-in eSata 2.6.36.2 kernel on their site - I am using it since it was easier to download than recompiling. I also had a minor issue with IPv6 (not that I am using that -yet!) on the one I compiled but NewIT's was clean. I think the link was in another thread.
Logged

Tony Pemberton
NewIT_James
Administrator
Sr. Member
*****
Posts: 394


« Reply #20 on: 31 January 2011, 08:39:56 pm »

Here is the thread.

http://www.newit.co.uk/forum/index.php/topic,796.0.html

NewIT Technical
Logged

NewITJames
peter a
Full Member
***
Posts: 162


« Reply #21 on: 31 January 2011, 09:43:02 pm »

I think I`ve found my problem . compiling it now

This is what I did .

make clean
make kirkwood_defconfig
make menuconfig

When to the bottom of the list and picked "load alt config file" , made the changes , "save alt config file"

The problem was it changed "sheeva-whatever.config which I loaded it from , but didn`t change the .config file it was conpiling from.
So deleted the .config file and replaced it with my "sheeva-whatever.config" , after renaming it.
Logged
peter a
Full Member
***
Posts: 162


« Reply #22 on: 01 February 2011, 12:49:30 pm »

I`ve fully compiled 2.6.37 with only a small problem .
I went to town and really gutted it , removing just about every thing I didn`t need ( leaving NET alone )

My small error is :-

Starting MySQL database server: mysqldsshd (1429): /proc/1429/oom_adj is deprecated, please use /proc/1429/oom_score_adj instead.

Which I think is a sheeva-2.6.37.config fault , because I get the same problem with http://sheeva.with-linux.com/sheeva/ version of that kernel booting from sd card.

I even built my own script

Code:
#! /bin/bash

# setenv mainlineLinux yes
# Do one of the following three
# setenv arcNumber 2097 # for standard sheevaplugs
# setenv arcNumber 2678 # for e-sata sheevaplugs
# setenv arcNumber 2659 # for guruplugs

# ------- Native compile of kernel -------

# apt-get install uboot-mkimage make build-essential ncurses-dev

# ------- Set clock .. rtc battery problems ? -------

# date -s "30 JAN 2011 10:00:00"

# ----------------------------------------------------------------------

KVer='2.6.37'

# -------- Download Kernel and decompress it -------

#   http://www.kernel.org/ <---- check this site

# ------- If not, the file could be a tar.gz ? or not a 2.6 kernel -------

if [ ! -f ./linux-$KVer.tar.bz2 ] ; then
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-$KVer.tar.bz2
wget http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-$KVer.tar.bz2
wget http://www.kernel.org/pub/linux/kernel/v2.6/longterm/v2.6.35/linux-$KVer.tar.bz2
fi

if [ ! -d ./linux-$KVer ] ; then
tar -xjvf ./linux-$KVer.tar.bz2
cd linux-$KVer
make clean
make kirkwood_defconfig
echo
echo 'Run that script again .. Don`t delete any files or folder'
echo 'Move to the botton of the list < load alt file >'
echo 'After the config file is save .. Run the p2 script'
echo
else
cd linux-$KVer
make menuconfig
fi

# load alt config file , save and run part 2

# check that .config is your edited version inside the kernel folder before compiling


Code:
#! /bin/bash

KVer='2.6.37'

cd linux-$KVer

# ------- make the kernel and modules -------

make uImage
cp ./arch/arm/boot/uImage ..
make modules
make INSTALL_MOD_PATH=.. modules_install
« Last Edit: 01 February 2011, 01:02:42 pm by peter a » Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!