HD Install :: boot option home and opt on USb drive not working



Hi Guys,

need some help with a frugal installation. i have managed to get frugal install on a CF card successfully. this pc has no hard disk. so i put the os in frugal mode on the CF and plan to use a usb drive for home,opt and mydsl.

i copied the home and opt directories from the ramdisk after bootup onto the usb drive which is recognized as partition sda1. it is also mounted on bootup. i also created mydsl folder and put a few .dsl's and feh.unc in it.

heres what happens on bootup. the mydsl=sda1 boot option  works and the .dsl and .unc are loaded but the home=sda1 and opt=sda1 dont work. i get some messages and then i end up at the console in text mode.

please guide.

thanks.

Afaik, you need to put them in seperate, contained locations.
Quote
i copied the home and opt directories from the ramdisk after bootup onto the usb drive which is recognized as partition sda1


That is not how it was designed to work. Start off with a empty partition and the first invocation of the home= and/or opt= boot codes will setup persistent home and/or opt. If you copy after boot likely it is not setup properly.

I totally agree with thehatsrule it is best to use separate partitions.

[EDIT]
manishsadh, Please post your question only once.



Thanks guys,

i will give it a shot. first i will remove the home and opt on the usb drive. then add the bootoption home=sda1 and then see how it goes.

Hi Roberts,

as advised by you i deleted the home and opt directories from the usb drive partition then proceeded to reboot with the usb drive which is bootable and has embedded dsl on it so that i can mount the cf card partition and add the bootoption "home=sda1". when i bootup with the CF card i land up in text mode again.

following is the set of kernel messages i get on the console. it may be of some help to you. i have seperated the messges by a "-".

--- start -----

Automounter started for floppy cdrom -

registering unionfs 1.0.14 -

mount: /dev/sda1 already mounted or mnt/sda1 busy -

mount: according to mtab, /dev/sda1 is mounted on /cdrom -

sed: /home/dsl/.fluxbox/init: no such file or directory -

chgrp: /cdrom : operation not permitted -

ssh started -

checking for mydsl apps...cicuslinux vnc feh -

cannot open /home/dsl/.fluxbox/mydsl.menu: /home/dsl/.fluxbox/mydsl.menu: no such file or directory.

chown: /home/dsl/.fluxbox/mydsl.menu:  no such file or directory. -

cannot open /home/dsl/.jwmrc: home/dsl/.jwmrc: no such file or directory. -

cannot open /home/dsl/.fluxbox/mydsl.menu: /home/dsl/.fluxbox/mydsl.menu: no such file or directory.

chown: /home/dsl/.fluxbox/mydsl.menu:  no such file or directory. -

cannot open /home/dsl/.jwmrc: home/dsl/.jwmrc: no such file or directory. -

INIT: entering run level : 5 -

ext2-fs warning: maximal mount count reached, running e2fsck recommended -

su(pam_unix) [659]: session opened for user dsl by (uid=0)

--- end ------

thats it. i end up at text console.


Thanks

Next Page...
original here.