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
Pages: (3) </ [1] 2 3 >/

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

reply to topic new topic new poll
Topic: Booting with files NOT in root dir - HELP< Next Oldest | Next Newest >
choekstr Offline





Group: Members
Posts: 12
Joined: April 2005
Posted: April 13 2005,01:29 QUOTE

Ok, so I don't like all the files in the root of my device (CD, USB, etc) and so I have moved everything to a /dsl directory. I also have a directories for other images/installs.

I think I have determined that since I am moving the files into a directory and then booting, it can't find the knoppix image file. (DUH, it says "Can't find KNOPPIX filesystem, sorry. Dropping you to a (very limited) shell.")

I know, say using the CD method (same for USB), it gets mounted properly as going into /mnt shows /dsl and other directories, and within the /dsl directory there is a knoppix directory.

I tried passing a root=/dsl and a BOOT_IMAGE=/dsl/knoppix on the boot options (append line for isolinux, kernel line for grub) but that didn't seem to help.

What do I need to do to have the "compartmentalized" directories and still be able to fool dsl into booting from the correct image?

Thanks in advance,
Chris Hoekstra
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 13 2005,02:14 QUOTE

I thought i had an answer for you, but on closer look i can't find any way to do it.  You need to specify a device from which to boot rather than a directory.

I don't really know why you care so much about booting this way (have never seen it done in anything but a virtual machine), but i'd be interested to know how to do it as well...might be fun to mess around with.


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





Group: Members
Posts: 12
Joined: April 2005
Posted: April 13 2005,03:08 QUOTE

I want to install 2 versions of dsl, 1 version of knoppix, one version of slax and be able to boot from them all.  I could partition the media, usb/cd but then that doesn't help much as I can't get to any of the other files.

Also, I want to be able to add tools for when I am booted in windows.  For instance, a directory structure of:
/ would have
/dsl (install of damnsmalllinux)
/knoppix (full install of knoppix)
/slax (medium sized knoppix install)
/Tools (various tools like service packs, winzip, etc)

This would afford a bootable device that does more than just ONE thing: boot dsl.  

I ran across the bootfrom option, but I don't think that is what I want.  I need to either:
1.) tell the distro to mount /dsl as /
2.) or tell scripts that knoppix/knoppix is one dir deeper

Thoughts?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 13 2005,03:30 QUOTE

What makes you think you couldn't get to the other files?  If you made 4 partitions on your device you could put one system on each, and mount the others.  For example, in DSL, create /knoppix /slax and /Tools.  When you boot dsl, mount the other partitions to those directories.  Do the same with the other systems, but change the one directory (in knoppix, for example, you'd create /dsl instead of /knoppix).   Your root directory is always going to contain the standards, like /bin and /usr, but this will give you the other systems in your root directory.  Although the linux filesystem standard recommends that you put mounts in /mnt or /media, it should still work.  Just make sure the Tools partition is formatted as fat32 so windows can access it.

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






Posted: April 13 2005,18:25 QUOTE

Cause then I can't format a drive, install a boot loader, and just copy files over from within windows.  If I formatted them all fat, I would get 4 drive letters under windows.  If I did ext2 then I wouldn't see the other partitions and that might help, but why do I have to?

I shouldn't have to partition my drive because dsl needs to be in the root partition or else it just won't work.  I can accept that restriction if it is there, but I don't want to start exploring alternatives until there is a reason to.  Ideally I would like to have one partition, with several distros as well as some tools, all accessible from within windows (have to copy new versions of dsl over afterall!) and all from within dsl if need be.

Chris
Back to top
10 replies since April 13 2005,01:29 < Next Oldest | Next Newest >

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

Pages: (3) </ [1] 2 3 >/
reply to topic new topic new poll
Quick Reply: Booting with files NOT in root dir - HELP

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