All pastes #118209 Raw Edit

bliss

public text v1 · immutable
·published 2006-08-06 07:50 UTC
rendered paste body

this is the menu.lst from hda3 which is the OS to be deleted which presently controls grub
on hda0  as you can see root is set as (hda0,2) if you look at the last two entries at bottom of
list you will see unbuntu (hda0,0) this the the OS I want to boot to after deleting (hd0,2) which is
actally hda3 if you see what i mean


## ## End Default Options ##

title           Debian GNU/Linux, kernel 2.6.16-2-686
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.16-2-686 root=/dev/hda3 ro
initrd          /boot/initrd.img-2.6.16-2-686
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.16-2-686 (single-user mode)
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.16-2-686 root=/dev/hda3 ro single
initrd          /boot/initrd.img-2.6.16-2-686
savedefault



boot

title           Debian GNU/Linux, kernel 2.6.15-1-686
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.15-1-686 root=/dev/hda3 ro
initrd          /boot/initrd.img-2.6.15-1-686
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.15-1-686 (single-user mode)
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.15-1-686 root=/dev/hda3 ro single
initrd          /boot/initrd.img-2.6.15-1-686
savedefault
boot



### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
title           Ubuntu, kernel 2.6.15-23-386 (on /dev/hda1)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.15-23-386 root=/dev/hda1 ro quiet splash
initrd          /boot/initrd.img-2.6.15-23-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hda1.
title           Ubuntu, kernel 2.6.15-23-386 (recovery mode) (on /dev/hda1)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.15-23-386 root=/dev/hda1 ro single
initrd          /boot/initrd.img-2.6.15-23-386
savedefault
boot