Christoph Maier wrote: > On Sun, 2006-11-05 at 18:16 -0800, Carl Lowenstein responded to my > request in SDLUG: > [...] >> > For the crazy stuff that I want to try out next, it would probably make >> > sense to find out in advance how I can prevent bootloaders that come >> > with Linux distributions and want to install themselves by default from >> > overwriting the one I ended up with right now (whatever ubuntu 6.10 put >> > on by default; once I understand all the stuff quoted below, I'll >> > probably want to make a more educated choice; until then, if it ain't >> > broke ...). >> > >> > Looking forward to the next installfest ... probably I'll pester >> anybody >> > willing to listen with questions how to play MPEGs, DVDs, floppy >> > disks[!] etc., how to do _incremental_ backups of important data, >> ... or >> > how to get Linux onto a "vintage" Macintosh G3 powerbook. >> > >> >> Tell the new installation to put the bootloader in the partition >> containing the root file system, not in the Master Boot Record. Then >> you can steal the information generated in the /boot/grub/grub.conf >> and add it to the real grub.conf that Ubuntu installed. With some >> care to avoid name conflicts. >> >> carl >> > The Edgy Eft saith: > > $ ll /boot > total 8308 > -rw-r--r-- 1 root root 285604 2006-10-13 12:09 abi-2.6.17-10-generic > -rw-r--r-- 1 root root 74645 2006-10-13 09:13 config-2.6.17-10-generic > drwxr-xr-x 2 root root 4096 2006-11-01 16:27 grub > -rw-r--r-- 1 root root 5638978 2006-11-04 15:06 > initrd.img-2.6.17-10-generic > -rw-r--r-- 1 root root 94600 2006-10-20 04:44 memtest86+.bin > -rw-r--r-- 1 root root 728690 2006-10-13 12:09 > System.map-2.6.17-10-generic > -rw-r--r-- 1 root root 1636681 2006-10-13 12:09 > vmlinuz-2.6.17-10-generic > > $ ll /boot/grub/ > total 188 > -rw-r--r-- 1 root root 197 2006-11-01 16:27 default > -rw-r--r-- 1 root root 15 2006-11-01 16:27 device.map > -rw-r--r-- 1 root root 7508 2006-11-01 16:27 e2fs_stage1_5 > -rw-r--r-- 1 root root 7332 2006-11-01 16:27 fat_stage1_5 > -rw-r--r-- 1 root root 16 2006-11-01 16:27 installed-version > -rw-r--r-- 1 root root 8128 2006-11-01 16:27 jfs_stage1_5 > -rw-r--r-- 1 root root 4221 2006-11-01 16:27 menu.lst > -rw-r--r-- 1 root root 6804 2006-11-01 16:27 minix_stage1_5 > -rw-r--r-- 1 root root 9076 2006-11-01 16:27 reiserfs_stage1_5 > -rw-r--r-- 1 root root 512 2006-11-01 16:27 stage1 > -rw-r--r-- 1 root root 105652 2006-11-01 16:27 stage2 > -rw-r--r-- 1 root root 8764 2006-11-01 16:27 xfs_stage1_5 > > It seems that only device.map and menu.lst are readable. > No trace of /boot/grub/grub.conf > My more or less educated guess would be that I need to be looking > into /boot/grub/menu.lst . >
Yeah menu.lst seems to be the ubuntu way. The name of the conf file seems to live in the "stage2" program. Don't know the history -- presumeably there was some difference of opinions, somewhere. PS, when you get around to experimenting with installing additional distributions, remember that the kernel and grub files have to be on a "plain" partition (not LVM). The filesystem root can be LVM-- just not /boot (the initrd magic makes lvm available _after_ loading the kernel). Be aware that there will be some fussy grub reconfiguration needed after installing each addtional OS. I've found at least 2 ways of getting comfortable with the process, but it's messy to describe as well as execute -- so maybe that those recipes should be posted separately, maybe to the wiki?. I'm sure cdl and others have their own ways of doing it, as well. Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
