Hi,
- I installed Windows for my kids' games. It ran okay.
- I managed to alter the menu.lst and re-load grub so that I can boot back into Kubuntu and that ran okay.
Problem is, I now get an 'Error 13' when I try boot into Windows.
As you can see below, my HDD is partitioned into three. The third partition split into FAT32 and EXT2. This is just a deposit where I put music and stuff.
Windows is on (hd0,0)
Kubuntu is on (hd0,1)
Below are the commands I followed in the Terminal.
-------------------------------------------------------------
...sudo grub
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> geometry (hd0)
drive 0x80: C/H/S = 9729/255/63, The number of sectors = 156301488, /dev/sda
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 1, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type is fat, partition type 0xb
Partition num: 5, Filesystem type is ext2fs, partition type 0x83
grub> find /boot/grub/stage1
(hd0,1)
grub> root (hd0,1)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,1)/boot/grub/stage2 /boot/grub/menu
.lst"... succeeded
Done.
grub> quit
--------------------------------------------------------
Here is my menu.lst file
## ## End Default Options ##
title Ubuntu 9.04, kernel 2.6.28-14-generic
uuid 3f6ff74a-a2f2-4458-aab1-0a4cff7973df
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=3f6ff74a-a2f2-4458-aab1-0a4cff7973df ro quiet splash
initrd /boot/initrd.img-2.6.28-14-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode)
uuid 3f6ff74a-a2f2-4458-aab1-0a4cff7973df
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=3f6ff74a-a2f2-4458-aab1-0a4cff7973df ro single
initrd /boot/initrd.img-2.6.28-14-generic
title Ubuntu 9.04, memtest86+
uuid 3f6ff74a-a2f2-4458-aab1-0a4cff7973df
kernel /boot/memtest86+.bin
quiet
### 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
title Windows XP
root (hd0,1)
makeactive
chainloader +1
------------------------------------------------------------------
Any suggestions, please?
To do all of the above, I followed instructions that posters kindly sent me here;
The definitive dual-booting guide: Linux, Vista and XP step-by-step
http://apcmag.com/the_definitive_dua...stepbystep.htm
and here;
-- How To GRUB Methods - Toolkit
http://kubuntuforums.net/forums/inde...opic=3081671.0
Thanks.
- I installed Windows for my kids' games. It ran okay.
- I managed to alter the menu.lst and re-load grub so that I can boot back into Kubuntu and that ran okay.
Problem is, I now get an 'Error 13' when I try boot into Windows.
As you can see below, my HDD is partitioned into three. The third partition split into FAT32 and EXT2. This is just a deposit where I put music and stuff.
Windows is on (hd0,0)
Kubuntu is on (hd0,1)
Below are the commands I followed in the Terminal.
-------------------------------------------------------------
...sudo grub
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> geometry (hd0)
drive 0x80: C/H/S = 9729/255/63, The number of sectors = 156301488, /dev/sda
Partition num: 0, Filesystem type unknown, partition type 0x7
Partition num: 1, Filesystem type is ext2fs, partition type 0x83
Partition num: 4, Filesystem type is fat, partition type 0xb
Partition num: 5, Filesystem type is ext2fs, partition type 0x83
grub> find /boot/grub/stage1
(hd0,1)
grub> root (hd0,1)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,1)/boot/grub/stage2 /boot/grub/menu
.lst"... succeeded
Done.
grub> quit
--------------------------------------------------------
Here is my menu.lst file
## ## End Default Options ##
title Ubuntu 9.04, kernel 2.6.28-14-generic
uuid 3f6ff74a-a2f2-4458-aab1-0a4cff7973df
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=3f6ff74a-a2f2-4458-aab1-0a4cff7973df ro quiet splash
initrd /boot/initrd.img-2.6.28-14-generic
quiet
title Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode)
uuid 3f6ff74a-a2f2-4458-aab1-0a4cff7973df
kernel /boot/vmlinuz-2.6.28-14-generic root=UUID=3f6ff74a-a2f2-4458-aab1-0a4cff7973df ro single
initrd /boot/initrd.img-2.6.28-14-generic
title Ubuntu 9.04, memtest86+
uuid 3f6ff74a-a2f2-4458-aab1-0a4cff7973df
kernel /boot/memtest86+.bin
quiet
### 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
title Windows XP
root (hd0,1)
makeactive
chainloader +1
------------------------------------------------------------------
Any suggestions, please?
To do all of the above, I followed instructions that posters kindly sent me here;
The definitive dual-booting guide: Linux, Vista and XP step-by-step
http://apcmag.com/the_definitive_dua...stepbystep.htm
and here;
-- How To GRUB Methods - Toolkit
http://kubuntuforums.net/forums/inde...opic=3081671.0
Thanks.
Comment