Dual Boot, Twice?

Tom H tomh0665 at gmail.com
Tue Jun 1 15:11:35 UTC 2010


On Mon, May 31, 2010 at 10:51 AM, nlfirkin at ozemail.com.au
<nlfirkin at ozemail.com.au> wrote:
>
> I loved Ubuntu 9.10 so much I tried to upgrade to 10.04 LTS.
> After the upgrade finished it booted once then I couldn't boot into Ubuntu.
> It didn't show up in the boot menu.
> I tried installing again from the live cd but it added another boot loader.
> I tried to update grub with no change.
> I've tried make a USB boot recovery and can't figure that out.
> Some where in all this I followed some instructions about get grub4Dos.
>
> Now I am lost.
>
> --The First Boot Menu is--
> Microsoft Windows XP Home Edition --(selecting this works)--
> grub4Dos  --(selecting this does nothing)--
> Ubuntu  --(selecting this takes me to the second Boot Menu)--
>
> --The Second Boot Menu is--
> GNU GRUB version 1.98-1Ubuntu5
>
> Ubuntu, Linux 2.6.32-21-generic --(selecting this works)--
> Ubuntu, Linux 2.6.32-21-generic (recovery mode) --(selecting this works)--
> Microsoft Windows XP Home Edition (on /dev/sda1)  --(selecting this works)--
> Windows NT/2000/XP (on /dev/sda3)--(selecting this works)--
>
> --I have an eeepc 900HA with a 160gb HDD
> --I was aiming for 30gb Ubuntu, 30gb XP and 60gb storage.
>
> fdisk -l
> [sudo] password for me:
>
> Disk /dev/sda: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x92e4538c
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *           1       10442    83875333+   7  HPFS/NTFS
> /dev/sda2           10443       18431    64171642+   7  HPFS/NTFS
> /dev/sda3           18432       19452     8201182+  1c  Hidden W95 FAT32
> (LBA)
> /dev/sda4           19453       19457       40162+  ef  EFI (FAT-12/16/32)
> me at ubuntu:~$ df -Th
> Filesystem    Type    Size  Used Avail Use% Mounted on
> /dev/loop0    ext4     17G  2.1G   14G  14% /
> none      devtmpfs    493M  292K  493M   1% /dev
> none         tmpfs    498M  1.4M  496M   1% /dev/shm
> none         tmpfs    498M   92K  497M   1% /var/run
> none         tmpfs    498M     0  498M   0% /var/lock
> none         tmpfs    498M     0  498M   0% /lib/init/rw
> /dev/sda1  fuseblk     80G   67G   14G  84% /host
> /dev/sda2  fuseblk     62G  1.2G   61G   2% /media/A000B2F200B2CF12
> me at ubuntu:~$ update-grub
> /usr/sbin/grub-mkconfig: You must run this as root
> me at ubuntu:~$ sudo update-grub
> Generating grub.cfg ...
> Found linux image: /boot/vmlinuz-2.6.32-21-generic
> Found initrd image: /boot/initrd.img-2.6.32-21-generic
> Found Microsoft Windows XP Home Edition on /dev/sda1
> Found Windows NT/2000/XP on /dev/sda3
> done
> me at ubuntu:~$

grub4dos is chainloading grub2. Please post xp's boot.ini and
grub4dos' menu.lst, as well as the 10_linux and 30-os-prober sections
of Ubuntu's grub.cfg.

I don't see an ext4 partition in your fdisk output and / is associated
with /dev/loop0 in your df output. Are you using Wubi?




More information about the ubuntu-users mailing list