[solved] reinstall XP, dual boot ruined
-
Paul Unger
- Senior Member

- Posts: 551
- Joined: Mon Jun 14, 2004 8:18 am
- Location: Solomon Islands / Canada
[solved] reinstall XP, dual boot ruined
I'm currently trying to regain access to the Linux portion of my dual-boot setup. I had to reinstall XP, which overwrote the GRUB. A friend helped me restore the GRUB, but now it get an error when I try to boot to Ubuntu . . . Here's the GRUB list I see when I boot:
Ubuntu 7.10, kernel 2.6.22-14-generic
Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
Ubuntu 7.10, memtest86+
Other operating systems:
Microsoft Windows XP Pro
Windows NT/2000/XP
If I try option 1 or 2 (Ubuntu 7.10) I get "Error 17: Cannot mount selected partition. Press any key to continue". Option 4 (XP Pro) works just fine. Do I need to reinstall Ubuntu, or can I fix this?
Ubuntu 7.10, kernel 2.6.22-14-generic
Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
Ubuntu 7.10, memtest86+
Other operating systems:
Microsoft Windows XP Pro
Windows NT/2000/XP
If I try option 1 or 2 (Ubuntu 7.10) I get "Error 17: Cannot mount selected partition. Press any key to continue". Option 4 (XP Pro) works just fine. Do I need to reinstall Ubuntu, or can I fix this?
Last edited by Paul Unger on Sun Mar 16, 2008 5:08 pm, edited 1 time in total.
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3
-
Paul Unger
- Senior Member

- Posts: 551
- Joined: Mon Jun 14, 2004 8:18 am
- Location: Solomon Islands / Canada
I see four partitions in the order:
______ | Healty (Unknown Partition) | 27.67 GB
______ | Healty (Unknown Partition) | 1.23 GB
Preload (C:) | Healty (System) | 58.68 GB
SERVICE001 | Healthy (EISA Configuration) | 5.55 GB
These are ordered:
Preload (C:) 58.68 GB | _____ 27.67 GB | _____ 1.23 GB | SERVICE001 5.57 GB
in the 'graphical display' of disk usage. They are all dark blue (i.e., Primary) except the _____ 1.23 GB which is light blue (i.e., Logical). Hope that helps.
______ | Healty (Unknown Partition) | 27.67 GB
______ | Healty (Unknown Partition) | 1.23 GB
Preload (C:) | Healty (System) | 58.68 GB
SERVICE001 | Healthy (EISA Configuration) | 5.55 GB
These are ordered:
Preload (C:) 58.68 GB | _____ 27.67 GB | _____ 1.23 GB | SERVICE001 5.57 GB
in the 'graphical display' of disk usage. They are all dark blue (i.e., Primary) except the _____ 1.23 GB which is light blue (i.e., Logical). Hope that helps.
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3
-
carbon_unit
- Moderator Emeritus

- Posts: 2988
- Joined: Sat Apr 24, 2004 9:10 pm
- Location: South Central Iowa, USA
You should be able to use the command line or edit feature of grub. I would try command line. So at the grub menu hit 'c' for command line. That will get the grub prompt.
Then type
> find /boot/grub/stage1
that will give the partition where the grub files are found, say (hd0,2). Enter that
> root (hd0,2)
then enter
> cat /boot/grub/menu.lst
and scroll down for the command entries for 'generic' & write them down. You need two:
kernel
initrd
enter each of those at the grub prompt, then enter
>boot
Then type
> find /boot/grub/stage1
that will give the partition where the grub files are found, say (hd0,2). Enter that
> root (hd0,2)
then enter
> cat /boot/grub/menu.lst
and scroll down for the command entries for 'generic' & write them down. You need two:
kernel
initrd
enter each of those at the grub prompt, then enter
>boot
GRUB Error 17 from the GRUB Manual:
Your Windows partition should be (hd0,0) and the Ubuntu partition should be (hd0,1), according to your posted Windows Disk Management data. If your entry for Ubuntu was referencing (hd0,0) then you would get that error message when trying to boot.
So, I agree with AL7KZ - let the GRUB menu come up, scroll to the Ubuntu menu item and type 'e' (for edit) and examine the boot stanza. If it starts with:
root (hd0,0)
then manually edit it to:
root (hd0,1)
and then try it out. If it boots correctly, edit the menu.lst file to make the change permanent.
So, more than likely you are getting this error because the menu.lst file is probably pointing to the Windows partition instead of the Ubuntu partition.17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.
Your Windows partition should be (hd0,0) and the Ubuntu partition should be (hd0,1), according to your posted Windows Disk Management data. If your entry for Ubuntu was referencing (hd0,0) then you would get that error message when trying to boot.
So, I agree with AL7KZ - let the GRUB menu come up, scroll to the Ubuntu menu item and type 'e' (for edit) and examine the boot stanza. If it starts with:
root (hd0,0)
then manually edit it to:
root (hd0,1)
and then try it out. If it boots correctly, edit the menu.lst file to make the change permanent.
Mark
X61T 7764-CTO, Core 2 Duo L7500 LV 1.6 GHz, 4 GB RAM, 120 GB Intel X25M SSD
Multiboot w/Grub4DOS -- Windows 10, MustangPE, PartedMagic
My ex: X41T (2005 - 2009)
X61T 7764-CTO, Core 2 Duo L7500 LV 1.6 GHz, 4 GB RAM, 120 GB Intel X25M SSD
Multiboot w/Grub4DOS -- Windows 10, MustangPE, PartedMagic
My ex: X41T (2005 - 2009)
-
Paul Unger
- Senior Member

- Posts: 551
- Joined: Mon Jun 14, 2004 8:18 am
- Location: Solomon Islands / Canada
Yep. Just "Error 17: Cannot mount selected partition. Press any key to continue".carbon_unit wrote:Is that the entire error message?
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3
-
Paul Unger
- Senior Member

- Posts: 551
- Joined: Mon Jun 14, 2004 8:18 am
- Location: Solomon Islands / Canada
OK, I found my way in using k0lo's instructions. I typed 'e', root was (hd0,2), I changed it to (hd0,1), and it booted Ubuntu. Now I'm looking at menu.lst in gedit and see this:
I'm thinking that I need to change all the Ubuntu root lines to (hd0,1) and the Windows NT/2000/XP root line to (hd0,2). Is that a fair assumption?
Code: Select all
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=11f17d7b-75fc-4401-8a4e-cd7206dd7a7d ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=11f17d7b-75fc-4401-8a4e-cd7206dd7a7d ro single
initrd /boot/initrd.img-2.6.22-14-generic
title Ubuntu 7.10, memtest86+
root (hd0,2)
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
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows NT/2000/XP
root (hd0,1)
savedefault
makeactive
chainloader +1T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3
Paul:
Yes; that is correct.
And the current entry for Windows XP Professional is correct as-is (hd0,0), but you already knew that since XP was booting correctly.
Yes; that is correct.
And the current entry for Windows XP Professional is correct as-is (hd0,0), but you already knew that since XP was booting correctly.
Mark
X61T 7764-CTO, Core 2 Duo L7500 LV 1.6 GHz, 4 GB RAM, 120 GB Intel X25M SSD
Multiboot w/Grub4DOS -- Windows 10, MustangPE, PartedMagic
My ex: X41T (2005 - 2009)
X61T 7764-CTO, Core 2 Duo L7500 LV 1.6 GHz, 4 GB RAM, 120 GB Intel X25M SSD
Multiboot w/Grub4DOS -- Windows 10, MustangPE, PartedMagic
My ex: X41T (2005 - 2009)
-
Paul Unger
- Senior Member

- Posts: 551
- Joined: Mon Jun 14, 2004 8:18 am
- Location: Solomon Islands / Canada
Paul:
Excellent! Ya gotta love Linux at times like this. It's almost always possible to nurse a non-booting or defective system back to life without resorting to a reinstall.
Excellent! Ya gotta love Linux at times like this. It's almost always possible to nurse a non-booting or defective system back to life without resorting to a reinstall.
Mark
X61T 7764-CTO, Core 2 Duo L7500 LV 1.6 GHz, 4 GB RAM, 120 GB Intel X25M SSD
Multiboot w/Grub4DOS -- Windows 10, MustangPE, PartedMagic
My ex: X41T (2005 - 2009)
X61T 7764-CTO, Core 2 Duo L7500 LV 1.6 GHz, 4 GB RAM, 120 GB Intel X25M SSD
Multiboot w/Grub4DOS -- Windows 10, MustangPE, PartedMagic
My ex: X41T (2005 - 2009)
-
tylerwylie
- Junior Member

- Posts: 475
- Joined: Wed Dec 19, 2007 5:40 pm
- Location: Champaign, IL
- Contact:
I was kinda rooting for Windows to be gone forever and you go "screw it" but good for you anywaysPaul Unger wrote:Yay! Solved. Thanks, guys!
Samuel Adams wrote:The natural liberty of man is to be free from any superior power on Earth, and not to be under the will or legislative authority of man, but only to have the law of nature for his rule.
-
Paul Unger
- Senior Member

- Posts: 551
- Joined: Mon Jun 14, 2004 8:18 am
- Location: Solomon Islands / Canada
So you've been lurking behind a virtual tree, hoping I'd bite the bullet, eh?tylerwylie wrote:I was kinda rooting for Windows to be gone forever and you go "screw it" but good for you anywaysPaul Unger wrote:Yay! Solved. Thanks, guys!
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3
-
tylerwylie
- Junior Member

- Posts: 475
- Joined: Wed Dec 19, 2007 5:40 pm
- Location: Champaign, IL
- Contact:
I'd do it for my friends too, if they dual boot I'd try to make it so Windows doesn't work, and they go screw it I'll learn Linux instead. It never worksPaul Unger wrote:So you've been lurking behind a virtual tree, hoping I'd bite the bullet, eh?tylerwylie wrote:I was kinda rooting for Windows to be gone forever and you go "screw it" but good for you anyways![]()
Well, Windows was always working--it took over, after all--but I enjoy Linux enough that I wanted to get it back. I hope that's some consolation . . .
Samuel Adams wrote:The natural liberty of man is to be free from any superior power on Earth, and not to be under the will or legislative authority of man, but only to have the law of nature for his rule.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
SOLVED IDTech IAQX10 QXGA panel
by x3o2 » Sun Jan 15, 2017 8:20 am » in Marketplace - Forum Members only - 8 Replies
- 1048 Views
-
Last post by x3o2
Mon Apr 03, 2017 12:09 pm
-
-
-
SOLVED! Recovery media for T410 2518-4LU W7 Pro 64
by rakirkp » Sun Jan 22, 2017 11:22 am » in Marketplace - Forum Members only - 1 Replies
- 262 Views
-
Last post by theterminator93
Sun Jan 22, 2017 1:28 pm
-
-
-
ThinkPad X230 freeze problem solved
by BerFab » Wed Jan 25, 2017 4:46 am » in ThinkPad X200/201/220 and X300/301 Series - 0 Replies
- 668 Views
-
Last post by BerFab
Wed Jan 25, 2017 4:46 am
-
-
-
X200 - Fan Works Intermittently *SOLVED*
by prgtrdr » Thu Feb 02, 2017 5:28 am » in ThinkPad X200/201/220 and X300/301 Series - 4 Replies
- 1369 Views
-
Last post by prgtrdr
Tue Feb 21, 2017 8:47 pm
-
Who is online
Users browsing this forum: No registered users and 0 guests




