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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-29-2008, 01:56 PM
|
#1
|
|
LQ Newbie
Registered: Nov 2008
Location: jersey city
Posts: 3
Rep:
|
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
|
|
|
|
11-29-2008, 02:02 PM
|
#2
|
|
Member
Registered: Oct 2008
Posts: 41
Rep:
|
Quote:
Originally Posted by coldsuns
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.
|
|
|
|
11-29-2008, 02:07 PM
|
#3
|
|
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
|
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.
|
|
|
|
11-29-2008, 04:03 PM
|
#4
|
|
Member
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346
Rep:
|
|
|
|
|
11-29-2008, 04:12 PM
|
#5
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,218
|
And if you are just starting out, you may want to think about using the latest version - 8.10 (Intrepid).
|
|
|
|
11-29-2008, 06:52 PM
|
#6
|
|
LQ Newbie
Registered: Nov 2008
Location: jersey city
Posts: 3
Original Poster
Rep:
|
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
|
|
|
|
11-29-2008, 07:13 PM
|
#7
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,218
|
That should be "rootnoverify". See if you still get the NTLDR not found.
|
|
|
|
11-29-2008, 07:47 PM
|
#8
|
|
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
|
Sorry about the mis - spelled word. Thank you syg00 for cleaning it up.
|
|
|
|
11-29-2008, 10:16 PM
|
#9
|
|
LQ Newbie
Registered: Nov 2008
Location: jersey city
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|