Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: hda3 won't mount, opt, home, etc are all in ramdis< Next Oldest | Next Newest >
fredex Offline





Group: Members
Posts: 4
Joined: Nov. 2005
Posted: Dec. 03 2005,19:43 QUOTE

I've been doing frugal installs on an old toshiba. The install goes OK, and the resulting system boots and "works".

But the documents telling us how to do a frugal install IMPLY that if we enter commands such as "home=hda3 etc=hda3 opt=hda3' at the prompt for extra boot options, th at subsequent boots will somehow (as if by magic??) remember those options.

So I do that and when the eventual reboot occurs it does not seem to remember that. /home and /opt are on the ramdisk, NOT on  hda3. Nor is /etc, though it appears to be a simple directory in the root partition. hda3 is NOT mounted.

Are the instructions wrong (or too terse) or am I overlooking something simple?

I've found a lengthy post by tatlow (link) that gives a whole new install script that claims to make this stuff work but I haven't tried it yet. Anybody got any clues for me?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Dec. 03 2005,20:28 QUOTE

If home and opt are on the same partition as KNOPPIX, the boot codes will not work unless they are accompanied by the "toram" option. This may not be your problem, but you didn't specify where KNOPPIX is.   Also, there is no 'etc=' boot option.

This may have changed in 2.0, although i haven't yet checked.

The "magic" is simply that the boot script looks for those boot options.  If they are found, it attempts to mount that partition as home and/or opt.
Since the root partition is already mounted, the mount fails (for devs:  Should it perhaps use 'mount --bind' instead?).  If you use 'toram' the root partition is unmounted after copying KNOPPIX to RAM, so then it can be mounted for use with home and opt.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
fredex Offline





Group: Members
Posts: 4
Joined: Nov. 2005
Posted: Dec. 03 2005,21:33 QUOTE

Thanks for the reply.
I'm not using 'toram'. I've got a 2 gig drive and 96MB of RAM. I'm doing a frugal install into a small partition (around 60 megs) on hda1, and was hoping to mount the things that might  be changed (/home, /etc, and such-like) on hda3 (the rest of the drive), but it doesn't mount them.

The instructions don't say that I have to enter those every time it is booted, the clear implication is that doing it at install time is enough.

This is the 2.0 final release I'm installing. The instructions I"m using (for this try) are from  ASELABS. I have previously used the instructions from the DSL site and had trouble making it boot afterwards (no operating system found) on multiple tries. I later stumbled over the frugal option in the installation procedure and have used it. The resulting system works but has the same issues I report here, using the instructions from aselabs.

Perhaps I'm simply trying to do something that can't be done, but I get the distinct impression from what I've read about DSL and on the DSL homepage that it CAN, so I'd appreciate assistance in figuring out how. Thanks!
Back to top
Profile PM 
larkl Offline





Group: Members
Posts: 177
Joined: Sep. 2005
Posted: Dec. 03 2005,22:17 QUOTE

If I understand your question, I think that you're going to need to modify lilo or grub and have it "remember" the boot options that you mention.
Back to top
Profile PM 
3 replies since Dec. 03 2005,19:43 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: hda3 won't mount, opt, home, etc are all in ramdis

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code