LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-13-2008, 08:03 PM   #1
bigoxygen
LQ Newbie
 
Registered: Apr 2005
Posts: 9

Rep: Reputation: 0
Problems dual booting Windows XP and Ubuntu 8.04


Hi. See the history of my question here:

http://ubuntuforums.org/showthread.php?t=886273

I have tried everything people have told me on the ubuntuforums.org, but nothing seems to work.

I see grub, but when I press 'ubuntu' I get either error 21 or 22.

Please Help
Thanks
Matt
 
Old 08-13-2008, 10:05 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
With your ubuntu live cd use terminal and enter

sudo fdisk -l

and post the results and also the grub menu.lst again.

This will let us see your partition table as bios sees it.
 
Old 08-13-2008, 10:09 PM   #3
bigoxygen
LQ Newbie
 
Registered: Apr 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Disk /dev/sda: 300.0 GB, 300090728448 bytes
255 heads, 63 sectors/track, 36483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe8a0e8a0

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13637 109539171 7 HPFS/NTFS
/dev/sda2 13638 26692 104864287+ 5 Extended
/dev/sda5 13638 26692 104864252+ 7 HPFS/NTFS

Disk /dev/sdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x165d12b8

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 20669 166023711 7 HPFS/NTFS
/dev/sdb2 20670 24321 29334690 f W95 Ext'd (LBA)
/dev/sdb5 20670 24165 28081588+ 83 Linux
/dev/sdb6 24166 24321 1253038+ 82 Linux swap / Solaris

Disk /dev/sdc: 122.9 GB, 122942324736 bytes
16 heads, 63 sectors/track, 238216 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Disk identifier: 0xae920fdf

Device Boot Start End Blocks Id System
/dev/sdc1 * 1 238202 120053776+ 7 HPFS/NTFS
 
Old 08-14-2008, 12:25 AM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Right, when grub comes up, select the line for Ubuntu and press E. Select the line that goes root(hdx,x) and press E again. Remove the two characters after the comma and hit the tab key. This will show the partitions on the hd that GRUB has been told to look on. If you don't see any linux partition, then clearly grub has the wrong information. In that case, press ESC and try the same trick, only you now try a different number for the hd. For example, if you tried hd(2 TAB then you should also try hd(1TAB and /or hd(0 TAB. Write down the details of your linux partition as soon as you find it (number of the hd and number(s) of thepartition(s)). Use the information to correct the root(hdx,x) line. When you are done, press b to boot. As soon as you manage to get in (or at least before you reboot/shut down), go into the boot/grub directory and edit your menu.lst to show the correct information.
 
Old 08-15-2008, 01:44 AM   #5
bigoxygen
LQ Newbie
 
Registered: Apr 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Thank you

Thank you so much. This saved my life!!!
Things are working out really well.
Thank you again.

Quote:
Originally Posted by jay73 View Post
Right, when grub comes up, select the line for Ubuntu and press E. Select the line that goes root(hdx,x) and press E again. Remove the two characters after the comma and hit the tab key. This will show the partitions on the hd that GRUB has been told to look on. If you don't see any linux partition, then clearly grub has the wrong information. In that case, press ESC and try the same trick, only you now try a different number for the hd. For example, if you tried hd(2 TAB then you should also try hd(1TAB and /or hd(0 TAB. Write down the details of your linux partition as soon as you find it (number of the hd and number(s) of thepartition(s)). Use the information to correct the root(hdx,x) line. When you are done, press b to boot. As soon as you manage to get in (or at least before you reboot/shut down), go into the boot/grub directory and edit your menu.lst to show the correct information.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with dual booting Ubuntu and windows xp ceon2002 Linux - General 8 06-12-2008 10:43 PM
Windows Vista Dual-Booting with Ubuntu 6.10 Koueen Linux - Newbie 6 06-02-2008 07:12 PM
New To Linux, Dual Booting Ubuntu on Windows XP SP2. Agent_Fowler Linux - Newbie 2 02-26-2008 02:18 AM
Problem with grub dual booting windows xp and ubuntu 7.04 Frozen.past Linux - Newbie 36 01-31-2008 09:49 AM
LXer: Dual-Booting Windows XP/Vista And Ubuntu 7.04 LXer Syndicated Linux News 0 07-22-2007 02:46 PM


All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration