choekstr


Group: Members
Posts: 12
Joined: April 2005 |
 |
Posted: April 11 2005,05:07 |
 |
I was in this exact same situation and tried moving to directories. Let me explain my situation a bit first so you can adjust accordingly: I use a common boot method of syslinux for HD/USB based booting, isolinux for CD-ROM booting, and pxelinux for pxe booting. All using the exact same image of about 7 images. (One of them being DSL)
When I went to put my common directory structure on my usb drive and use syslinux since it was HD based, I found a major major limitation in syslinux. It only supports 8.3 characters for ALL PATHS AND FILENAMES! ACK! So a directory /boot/dsl/linux24 would turn into /boot/ds.l/l when trying to boot! I tried all kinds of hacks, tried looking on syslinux's forums and eventually gave up.
What I ended up switching to was grub! And I like it soooo much better. While I was able to get by with using a windows machine the whole time for all my images and syslinux, I had to switch to creating my boot sector with linux. Not a big deal as I already have a linux box running grub.
The way I did it: 1.) Put the memory stick in the Fedora Core2 linux box (hot plugged) 2.) ran grub-install [--recheck] /dev/sda 3.) ran grub to get a grub> prompt 4.) typed setup /dev/sda
I played around with this quite a bit until I got it working, but the above commands are the consolidated steps one should need to do. I am not sure if the menu.lst/grub.conf file is copied over by setup as well as the stage1 and stage2 files as I was trying all kinds of things.
Now that I am using grub, I can use 98% similar syslinux.cfg syntax, have nice scroll bar chooser, make kernel/initrd options on the fly, etc. MUCH MUCH nicer than syslinux/isolinux/pxelinux/memdisk are! Plus the overlaid text on my sweet background (albeit 16 colors) looks pretty slick as well.
So, now I have: /boot /boot/grub (grub only files) /boot/dsl (Damn Small Linux kernel24,minirt24.gz, knoppix folder) /boot/<other images>
And my root directory only has a single /boot directory in it! Finally I can control where my kernels and my ram disk images are on my removable media images.
Hope this gives you enough of a push to try it out.
|