Fwd: Re: Dual Boot, Twice? Aussie, Aussie, Aussie.
nlfirkin at ozemail.com.au
nlfirkin at ozemail.com.au
Tue Jul 13 13:36:56 UTC 2010
I tried to send this ages ago. I don't what happened.
----- Original Message -----
From: 'nlfirkin at ozemail.com.au' <nlfirkin at ozemail.com.au>
To: 'Ubuntu, user, technical, support, not for general discussions' <ubuntu-
users at lists.ubuntu.com>
Sent: Sun Jun 6 22:51
Subject: Fwd: Re: Dual Boot, Twice? Aussie, Aussie, Aussie.
G'day Mates, (Karl, NoOp, Goh Lip & Tom (hope I haven't missed anyone))
My name is Noel and I am an Aussie so my English is fine.
You guys are great. Wow you seem to be incredibly busy answering everyone, I don't
knowhow you do it. Very Impressive!!!
Thanks for the help. Sorry it's taken so long, I tried to boot g-parted from a USB
with no success. Had to buy a USB DVD ROM to boot clonezilla so I could image my
hard drive, success.
I'm not sure what do try first,
I am using wubi because the boot.ini has it as the option for Ubuntu.
This was not supposed to be. I screwed up my first boot menu so tried to restore it
from a LiveCD and it looks like I'm running this version of Linux from inside
Windows (I think?) My actual Ubunt 10.10 partition must be there because I'm
missing that much disc space.
----------------------------------------------------------------------
so I ran this,
noel at ubuntu:~$ grub-install -v
loop: can't open device /dev/loop0: Permission denied
grub-install (GNU GRUB 1.98-1ubuntu5)
noel at ubuntu:~$ sudo grub-install -v
[sudo] password for noel:
grub-install (GNU GRUB 1.98-1ubuntu5)
noel at ubuntu:~$ sudo grub-install /dev/sda
Installation finished. No error reported.
noel at ubuntu:~$
----------------------------------------------------------------------
This is my Boot.ini
[boot loader]
timeout=15
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition"
/noexecute=optin /fastdetect
c:\grldr="grub4Dos"
C:\wubildr.mbr = "Ubuntu"
----------------------------------------------------------------------
These are the 10_linux and 30-os-prober from gub.cfg.
### BEGIN /etc/grub.d/10_linux ###
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_lupin ###
menuentry "Ubuntu, Linux 2.6.32-21-generic" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set a4ec3cccec3c9b0e
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32-21-generic root=/dev/sda1
loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry "Ubuntu, Linux 2.6.32-21-generic (recovery mode)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set a4ec3cccec3c9b0e
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.32-21-generic root=/dev/sda1
loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_lupin ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set a4ec3cccec3c9b0e
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows NT/2000/XP (on /dev/sda3)" {
insmod fat
set root='(hd0,3)'
search --no-floppy --fs-uuid --set cced-990e
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
-------------------------------------------------------------------------
This is my menu.lst (I think? I found several) at /host
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
color black/cyan yellow/cyan
timeout 30
default /default
title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root /ntldr
chainloader /ntldr
savedefault --wait=2
title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 2
find --set-root /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2
title find and load IO.SYS of Windows 9x/Me
fallback 3
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2
title find and boot Mandriva with menu.lst already installed
fallback 4
find --set-root /etc/mandriva-release
savedefault --wait=2
configfile /boot/grub/menu.lst
title find and boot Linux with menu.lst already installed
fallback 5
find --set-root /sbin/init
savedefault --wait=2
configfile /boot/grub/menu.lst
title commandline
savedefault --wait=2
commandline
title floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)
savedefault --wait=2
title back to dos
savedefault --wait=2
quit
title reboot
savedefault --wait=2
reboot
title halt
savedefault --wait=2
halt
title memdrive duplicated from floppy image file (hd0,0)/sbm.bin
map --mem (hd0,0)/sbm.bin (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
savedefault --wait=2
title memdrive based on win98 partition (hd0,6)
map --mem (hd0,6)+1 (hd0)
# map --mem (hd0,0)/win98.gz (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)
savedefault --wait=2
-------------------------------------------------------------------------
This is my menu.lst at /host/grub4dos-0.4.3
# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.
color black/cyan yellow/cyan
timeout 30
default /default
title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root /ntldr
chainloader /ntldr
savedefault --wait=2
title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 2
find --set-root /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2
title find and load IO.SYS of Windows 9x/Me
fallback 3
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2
title find and boot Mandriva with menu.lst already installed
fallback 4
find --set-root /etc/mandriva-release
savedefault --wait=2
configfile /boot/grub/menu.lst
title find and boot Linux with menu.lst already installed
fallback 5
find --set-root /sbin/init
savedefault --wait=2
configfile /boot/grub/menu.lst
title commandline
savedefault --wait=2
commandline
title floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)
savedefault --wait=2
title back to dos
savedefault --wait=2
quit
title reboot
savedefault --wait=2
reboot
title halt
savedefault --wait=2
halt
title memdrive duplicated from floppy image file (hd0,0)/sbm.bin
map --mem (hd0,0)/sbm.bin (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
savedefault --wait=2
title memdrive based on win98 partition (hd0,6)
map --mem (hd0,6)+1 (hd0)
# map --mem (hd0,0)/win98.gz (hd0)
map --hook
chainloader (hd0)+1
rootnoverify (hd0)
savedefault --wait=2
-------------------------------------------------------------------------
This is my menu.lst at /host/Documents and Settings/Noel/Local
Settings/Temp/pyl10.tmp/winboot
debug off
hiddenmenu
default 0
timeout 0
fallback 1
title find /ubuntu/disks/boot/grub/menu.lst
find --set-root --ignore-floppies /ubuntu/disks/boot/grub/menu.lst
configfile /ubuntu/disks/boot/grub/menu.lst
title find /ubuntu/install/boot/grub/menu.lst
fallback 2
find --set-root --ignore-floppies /ubuntu/install/boot/grub/menu.lst
configfile /ubuntu/install/boot/grub/menu.lst
title find /menu.lst
fallback 3
find --set-root --ignore-floppies /menu.lst
configfile /menu.lst
title find /boot/grub/menu.lst
fallback 4
find --set-root --ignore-floppies /boot/grub/menu.lst
configfile /boot/grub/menu.lst
title find /grub/menu.lst
fallback 5
find --set-root --ignore-floppies /grub/menu.lst
configfile /grub/menu.lst
title commandline
commandline
title reboot
reboot
title halt
halt
-------------------------------------------------------------------------
I'm not sure what exactly I'm supposed to do now.
But I'm hopeful.
Kind regards,
Noel Firkin
On Tue Jun 1 23:11 , Tom H sent:
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?
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-
users
More information about the ubuntu-users
mailing list