LinuxQuestions.org
Review your favorite Linux distribution.
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 11-29-2008, 01:56 PM   #1
coldsuns
LQ Newbie
 
Registered: Nov 2008
Location: jersey city
Posts: 3

Rep: Reputation: 0
Question xp home missing from grub menu


these are my first days as a linux user and so far i love the os, but still need windows. a'ight, here goes:

# 1.6 GHz Intel Pentium M 730 (Sonoma), 533MHz FSB and PCIe x16 chipset
# 15.4 inch WSXGA+ LCD Panel (Samsung)
# 512 MB DDR2 400 MHz ram
# 60 GB Ultra ATA Fujitsu 4200rpm hard drive
# 64 MB ATi Mobility Radeon X300

> formated the drive using xp disk
> installed windows xp home

using the ubuntu 8.04.1 lts disk i:
> modified the ntsf partition from 55gig to 10gig
> designated 10 gig ubuntu partition
> designated 2 gig swap area
> formated 30-something gigs as FAT32 for shared storage

ubuntu installed perfectly, updated, i love it but windows xp home is not showing up on grubs boot menu when i restart. the partition is there when i run sudo fdisk -l in terminal. these are the results:

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd0f4738c

Device Boot Start End Blocks Id System
/dev/sda1 1 1217 9775521 7 HPFS/NTFS
/dev/sda2 * 1218 2433 9767520 83 Linux
/dev/sda3 2434 7296 39062047+ 5 Extended
/dev/sda5 2677 7296 37110150 b W95 FAT32
/dev/sda6 2434 2675 1943802 82 Linux swap / Solaris


this is what grub's menu.1st file looks like:

## ## End Default Options ##


title Ubuntu 8.04.1, kernel 2.6.24-22-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro quiet splash
initrd /boot/initrd.img-2.6.24-22-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-22-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro single
initrd /boot/initrd.img-2.6.24-22-generic

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

the partitions seem to be right and i would hate to have to go through the installs all over again. can i fix this???

thanks in advance for any help.

- g
 
Old 11-29-2008, 02:02 PM   #2
mohaas05
Member
 
Registered: Oct 2008
Posts: 41

Rep: Reputation: 16
Quote:
Originally Posted by coldsuns View Post
these are my first days as a linux user and so far i love the os, but still need windows. a'ight, here goes:

# 1.6 GHz Intel Pentium M 730 (Sonoma), 533MHz FSB and PCIe x16 chipset
# 15.4 inch WSXGA+ LCD Panel (Samsung)
# 512 MB DDR2 400 MHz ram
# 60 GB Ultra ATA Fujitsu 4200rpm hard drive
# 64 MB ATi Mobility Radeon X300

> formated the drive using xp disk
> installed windows xp home

using the ubuntu 8.04.1 lts disk i:
> modified the ntsf partition from 55gig to 10gig
> designated 10 gig ubuntu partition
> designated 2 gig swap area
> formated 30-something gigs as FAT32 for shared storage

ubuntu installed perfectly, updated, i love it but windows xp home is not showing up on grubs boot menu when i restart. the partition is there when i run sudo fdisk -l in terminal. these are the results:

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd0f4738c

Device Boot Start End Blocks Id System
/dev/sda1 1 1217 9775521 7 HPFS/NTFS
/dev/sda2 * 1218 2433 9767520 83 Linux
/dev/sda3 2434 7296 39062047+ 5 Extended
/dev/sda5 2677 7296 37110150 b W95 FAT32
/dev/sda6 2434 2675 1943802 82 Linux swap / Solaris


this is what grub's menu.1st file looks like:

## ## End Default Options ##


title Ubuntu 8.04.1, kernel 2.6.24-22-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro quiet splash
initrd /boot/initrd.img-2.6.24-22-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-22-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro single
initrd /boot/initrd.img-2.6.24-22-generic

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

the partitions seem to be right and i would hate to have to go through the installs all over again. can i fix this???

thanks in advance for any help.

- g
Add this to menu.lst

title Windows XP
root (hd0,0)
makeactive
chainloader +1

Note the formatting is probably not proper so don't just copy and paste it in, type it in making sure to indent when necessary.

Last edited by mohaas05; 11-29-2008 at 02:03 PM.
 
Old 11-29-2008, 02:07 PM   #3
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
Add to bottom of menu list just below the last ubunt entry

title Windows XP
rootoverify (hd0,0)
chainloader +1

Do not forget to leave a line spacing between your entries.

Last edited by Larry Webb; 11-29-2008 at 02:19 PM.
 
Old 11-29-2008, 04:03 PM   #4
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Some info on grub.

http://users.bigpond.net.au/hermanzone/p15.htm
 
Old 11-29-2008, 04:12 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
And if you are just starting out, you may want to think about using the latest version - 8.10 (Intrepid).
 
Old 11-29-2008, 06:52 PM   #6
coldsuns
LQ Newbie
 
Registered: Nov 2008
Location: jersey city
Posts: 3

Original Poster
Rep: Reputation: 0
thank you guys all very much for your help. it's a big relief to know that there's support so readily available using linux.

so...i tried the suggestions and edited grub's menu.1st file but either i get "error 13 invalid or unnsupported executable format" or "NTLDR is missing" when i attempt to boot xp.

so i reinstalled XP on the NTSF partition, it booted fine but got rid of grub. i had to use the Ubuntu LiveCD to reinstall grub so that i could access ubuntu. once i got ubuntu back up i upgraded from 8.04 to 8.10 as suggested. a few thing seem to be working better but the boot problem is still the same (i had to re-edit menu.1st for windows to show as an option).

i'll post my partition and menu.1st info again in case something changed that i don't see:


Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd0f4738c

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1217 9775521 7 HPFS/NTFS
/dev/sda2 1218 2433 9767520 83 Linux
/dev/sda3 2434 7296 39062047+ 5 Extended
/dev/sda4 2677 7296 37110150 b W95 FAT32
/dev/sda5 2434 2675 1943802 82 Linux swap / Solaris

title Windows XP Home
rootoverify (hd0,0)
chainloader +1

title Ubuntu 8.10, kernel 2.6.27-9-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro quiet splash
initrd /boot/initrd.img-2.6.27-9-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro single
initrd /boot/initrd.img-2.6.27-9-generic

title Ubuntu 8.10, kernel 2.6.24-22-generic
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro quiet splash
initrd /boot/initrd.img-2.6.24-22-generic
quiet

title Ubuntu 8.10, kernel 2.6.24-22-generic (recovery mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=d47f155d-0dcf-4fb5-bed4-86d928d31f92 ro single
initrd /boot/initrd.img-2.6.24-22-generic

title Ubuntu 8.10, memtest86+
root (hd0,1)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST
 
Old 11-29-2008, 07:13 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
That should be "rootnoverify". See if you still get the NTLDR not found.
 
Old 11-29-2008, 07:47 PM   #8
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
Sorry about the mis - spelled word. Thank you syg00 for cleaning it up.
 
Old 11-29-2008, 10:16 PM   #9
coldsuns
LQ Newbie
 
Registered: Nov 2008
Location: jersey city
Posts: 3

Original Poster
Rep: Reputation: 0
it worked!!!! i feel like i owe you guys some beers. thanks so much.

for people using this thread in the future, grubs menu.1st file is located in boot>grub>menu.1st
you have to log into it at a root level in order to edit. there's different ways to do that but i use:
ALT+F2 > gksudo nautilus

gksudo is how you log in at a root level to graphical interfaces and nautilus is ubuntu's file browser.

ubuntu rocks.
 
  


Reply

Tags
boot, dual, grub, menu, ubuntu, xp


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
Grub Menu doesn't reflect menu.lst file fatsheep Linux - Software 4 06-11-2007 01:29 PM
GRUB menu.lst/grub.conf file with multiple partitions dasy2k1 Linux - General 1 04-19-2007 08:42 AM
/grub/menu.lst file disappeared but computer still boots (grub) rrrssssss Linux - General 5 04-08-2007 09:02 AM
Fedora Core 4 - Install, Missing Grub Menu crazibri Fedora 4 03-11-2006 06:53 PM
Gnome menu Bar disappears because of missing settings from networked home dir? dlane99 Linux - Newbie 0 10-05-2005 05:47 AM


All times are GMT -5. The time now is 10:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration