On Mon, 2008-07-07 at 20:11 -0300, Gabriel Parrondo wrote: {} > > > > > > OP: > > > You should chroot in /debian_chroot and run 'aptitude install > > > linux-image-architecture'. > > > If debootstrap didn't already, also install grub (or lilo if you prefer > > > it). Edit fstab (don't forget about /proc) and exit the chroot. > > > Then, if you have grub in the fedora system, run 'grub-install > > > --root-directory=/debian_chroot /dev/device' and > > > edit /debian_chroot/boot/grub/device.map if necessary. > > > Re-enter the chroot and run update-grub. > > > > > > > > > Then make the bios boot from that device, however you do it, and there > > > you go. > > > > thanks, that sounds str forward - presumably the 'grub-install' will > > write a new MBR so when I reboot the machine it looks in /debian_chroot > > (ie I won't see the options from my [Fedora] /boot/grub/menu.lst)? > > That's what the --root-directory parameter does. > > > (I'm wanting to be able to boot into Debian kernel, but if it screws up be > > able to go back into Fedora, and then, finally when got a working > > Debian, wipe the Fedora and have a Debian (only) system) > > > > > Check the "default" and "savedefault" options in grub's menu.lst. > Basically, you use them to tell grub "boot the default menu item, but > before you do, set this menu entry as default for next reboot(s)" > >
Ah, so there will be a new MBR, it will point to /debian_chroot for Debian linux but still keep the old Fedora paths... I was thinking the old grub/menu.lst would have been lost during 'grub-install' (which I can't recall ever using before - have editted menu.lst many a time...) thanks, M -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]