LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-22-2008, 04:34 PM   #1
Pearci
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
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.
 
Old 05-22-2008, 04:42 PM   #2
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Change the partition it's looking at in /boot/grub/grub.conf.
 
Old 05-22-2008, 04:58 PM   #3
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,952

Rep: Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785Reputation: 785
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.
 
Old 05-23-2008, 10:02 AM   #4
Pearci
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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.
 
Old 05-23-2008, 11:32 AM   #5
Honeysuckle
Member
 
Registered: Dec 2007
Location: Australia
Distribution: Puppy, debian
Posts: 118

Rep: Reputation: 15
Quote:
Originally Posted by Pearci View Post
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
 
Old 05-24-2008, 04:37 AM   #6
Pearci
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
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!
 
Old 06-04-2008, 07:02 PM   #7
cretsiah
LQ Newbie
 
Registered: May 2008
Posts: 4

Rep: Reputation: 0
that might be where i went wrong with puppy 3 lol

Quote:
Originally Posted by Honeysuckle View Post
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
 
  


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
i booted puppy off a dvd without a partition and windows wont work need_help Linux - Newbie 3 03-11-2008 07:17 PM
Lost Windows partition after using install-grub command viperflyer Linux - Newbie 3 09-05-2007 04:30 AM
[SOLVED] Puppy 2.17 install perfect, except Grub problem gibsongirl Puppy 3 08-28-2007 09:44 PM
I accidentally install the grub on the Windows partition, Can I reconstruct??? nadavvin Linux - General 10 10-25-2006 07:30 PM
Fresh install of SUSE, windows partition is mounted but no GRUB entry irunfast1000 Linux - General 1 10-12-2006 03:49 PM


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

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