[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Best way to manage grub for multiple partitions?



On my several PC's: I have a Linux-Fix-Mini-RIP (Recovery is Possible) partition which also includes .tgz backups of two Debian environments and shared data. This contains my /boot/GRUB files. I do this also on a HD that fits in my ThinkPad-cdrom slot and a USB-HD (both bootable).

GRUB.CONF:

# X4: grub.conf: grub : root (hd0,3) : setup (hd0) GRUB_PARTION=hda4/BKUP
#
timeout 6
color black/cyan yellow/cyan
default saved
fallback 3

  title WinXP            (HDA1)
  rootnoverify (hd0,0)
  chainloader +1
# chainloader --edx=0x0080 (hd0,0)/ntldr

  title RIP  on BKUP     (HDA4) RecoveryIsPossible Locus_of_GRUB-BOOT
  kernel (hd0,3)/boot/kernel root=dev/ram0 rw vga=1 nokeymap
  initrd (hd0,3)/boot/rootfs.cgz

  title RIP-X on BKUP    (HDA4) RIP with GraphicUserInterface
  kernel (hd0,3)/RIPX/xkernel root=dev/ram0 rw vga=1 nokeymap
  initrd (hd0,3)/RIPX/xrootfs.cgz

  title Debian-beta      (HDA6)  NO_RESUME
  kernel (hd0,5)/vmlinuz root=/dev/hda6 ro vga=791 selinux=0 noresume
  initrd (hd0,5)/initrd.img

  title Debian-beta      (HDA6)
kernel (hd0,5)/vmlinuz root=/dev/hda6 ro vga=791 selinux=0 resume=/dev/hda5
  initrd (hd0,5)/initrd.img
  savedefault

  title Debian-gamma     (HDA7)
kernel (hd0,6)/vmlinuz root=/dev/hda7 ro vga=791 selinux=0 resume=/dev/hda5
  initrd (hd0,6)/initrd.img
  savedefault

  title Debian-delta     (HDA2)
# kernel (hd0,1)/vmlinuz root=/dev/hda2 ro vga=791 restore=hda5     # UBUNTU
kernel (hd0,1)/vmlinuz root=/dev/hda2 ro vga=791 resume=/dev/hda5 # Debian
  initrd (hd0,1)/initrd.img
  savedefault

  title Debian           (HDC6-disk in cd/dvd bay)
  kernel (hd1,5)/vmlinuz root=/dev/hdc6 ro vga=791 noresume
  initrd (hd1,5)/initrd.img

  title DamnSmallLinux  (HDA10)
kernel (hd0,9)/boot/linux24 root=/dev/hda10 vga=791 frugal nodma noacpi noapm
# initrd (hd0,9)/boot/initrd.gz

##  vga=788(800x600) 791(1024x768) 794(1280x1024)



Reply to: