LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub does not see windows partition after full Puppy install. (http://www.linuxquestions.org/questions/linux-newbie-8/grub-does-not-see-windows-partition-after-full-puppy-install-644123/)

Pearci 05-22-2008 04:34 PM

Grub does not see windows partition after full Puppy install.
 
I am a complete linux beginner! I have done a full install of Puppy 4 on my old HP omnibook laptop (128 RAM)and its absolutely great. I partitioned the HD as follows all according to Puppy instructions:
/dev/hda1 ntfs 3.42 G (windows)
/dev/hda2 ext2 1.46 G (Puppy)
/dev/hda3 linux 128mb (linux swap)
/dev/hda4 Fat 32 502MB.

Grub identifies windows on hda4 instead of hda1 (dont see hda 1) and so I cannot boot into windows. I must have made some error when configuring GRUB. How can I now boot into my windows partition. Grateful for any help.

Total-MAdMaN 05-22-2008 04:42 PM

Change the partition it's looking at in /boot/grub/grub.conf.

yancek 05-22-2008 04:58 PM

Which version of windows are you using?
What is on hda4?
If you can boot into Puppy, post the output of fdisk -l (lower-case letter L) and the menu.lst or grub.conf file in /boot/grub directory.

Pearci 05-23-2008 10:02 AM

Thanks for replying so promptly. As a complete beginner it took some time to understand your advice but finally got into grub menu 1st and this is what I found. What needs changing? Thanks again.

# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Other bootable partition config begins
# title Windows (on /dev/hda1)
# rootnoverify (hd0,0)
# makeactive
# chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/hda2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 ro vga=normal
# Linux bootable partition config ends
# Other bootable partition config begins
title Windows (on /dev/hda4)
map (hd0,0) (hd0,3)
map (hd0,3) (hd0,0)
rootnoverify (hd0,3)
makeactive
chainloader +1
# Other bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,1)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/hda2)
root (hd0,1)
setup (hd0,1)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)

I am using an nlite version of windows XP. It works but is slow hence my reason for trying Puppy which is fantastic.

Honeysuckle 05-23-2008 11:32 AM

Quote:

Originally Posted by Pearci (Post 3162495)
What needs changing?

It is cautious to back up your menu.lst before you change it, in case something gets accidentally messed up.

You need to delete the hashes from in front of these lines

# title Windows (on /dev/hda1)
# rootnoverify (hd0,0)
# makeactive
# chainloader +1

And put hashes in front of these lines (assuming there's nothing on hda4 you need to boot)
title Windows (on /dev/hda4)
map (hd0,0) (hd0,3)
map (hd0,3) (hd0,0)
rootnoverify (hd0,3)
makeactive
chainloader +1

Pearci 05-24-2008 04:37 AM

Thanks Honeysuckle. I did it and I now have access to my Windows partition (which frankly I don't think I will use much now).
Puppy works really well on this old laptop. I've just entered a new world!

cretsiah 06-04-2008 07:02 PM

that might be where i went wrong with puppy 3 lol
 
Quote:

Originally Posted by Honeysuckle (Post 3162597)
It is cautious to back up your menu.lst before you change it, in case something gets accidentally messed up.

You need to delete the hashes from in front of these lines

# title Windows (on /dev/hda1)
# rootnoverify (hd0,0)
# makeactive
# chainloader +1

And put hashes in front of these lines (assuming there's nothing on hda4 you need to boot)
title Windows (on /dev/hda4)
map (hd0,0) (hd0,3)
map (hd0,3) (hd0,0)
rootnoverify (hd0,3)
makeactive
chainloader +1


think thats where i usually have the problem lol....however i havent had a problem with puppy 4 univerasl installer.....thanx for that info though honeysuckle


All times are GMT -5. The time now is 10:46 PM.