Re: restore grub-seperate partion?



On 08/17/2008 01:13 AM, Mumia W. wrote:


Linda, I think you've already installed Linux to a partition because
WUBI probably has no need for Grub. If that's so, then you're free to

Umm... yes Wubi uses grub. In fact a grub menu.lst is created and
installed on the Windows machine in:

ubuntu\disks\boot\grub

and

ubuntu\winboot

On a dual boot system the Wubi menu.lst is modified to show all other
OS's as well. Here is mine (wubi menu.lst) on a dual boot where Ubuntu
(Gutsy) is on one drive (sda1) and WinXPPro w/wubi/ubuntu (Hardy 8.04.1)
is installed on the other (sdb1) - note the "looped=" entries:

## ## End Default Options ##

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root ()/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=<snipped>
loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root ()/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=<snipped>
loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root ()/ubuntu/disks
kernel /boot/memtest86+.bin

### 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/sda1.
title Ubuntu 7.10, kernel 2.6.22-15-generic (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=<snipped> ro quiet splash
initrd /boot/initrd.img-2.6.22-15-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title Ubuntu 7.10, kernel 2.6.22-15-generic (recovery mode) (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-15-generic root=UUID=<snipped> ro single
initrd /boot/initrd.img-2.6.22-15-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=<snipped> ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=<snipped> ro single
initrd /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title Ubuntu 7.10, memtest86+ (on /dev/sda1)
root (hd0,0)
kernel /boot/memtest86+.bin
savedefault
boot


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
map (hd0) (hd1)
map (hd1) (hd0)
chainloader +1


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Dual boot, but with two Linuxes
    ... Better yet...perhaps an entry on the wiki? ... It is quite useful to learn how to boot your system manually from grub ... # This entry automatically added by the Debian installer for an existing ...
    (Ubuntu)
  • Dual boot on Dell X300
    ... I have a Dell X300 and I want to dual boot between Sarge and Etch. ... # This entry automatically added by the Debian installer for an existing ...
    (Debian-User)
  • Re: Keydrive
    ... The debian installer allows you to write the installer to one keychain, ... plug it in, plug in a second that will hold the target system, and do a ... you can boot the installer from a CD.) ...
    (Debian-User)
  • Re: Grub set up
    ... you can enter these lines directly into the grub boot screen. ... # This entry automatically added by the Debian installer for an existing ... # linux installation on /dev/hda3. ...
    (Ubuntu)
  • Re: Bootloader
    ... load the Debian based stuff. ... # array will desync and will not let you boot your system. ... ## should update-grub add savedefault to the default options ... # This entry automatically added by the Debian installer for a non-linux OS ...
    (alt.os.linux)