What GRUB partition I type in?

Booting, installing, newbie
Post Reply
Message
Author
hamolton
Posts: 6
Joined: Mon 17 Jan 2011, 17:23

What GRUB partition I type in?

#1 Post by hamolton »

I just did the Puppy universal installer, and now I have to set up grub. I went in to GRUBCONFIG and now have to put in which partition I want GRUB in. I have Windows in sda1 and puppy frugal in sda2. What do I type in?
User avatar
obxjerry
Posts: 390
Joined: Fri 29 Jan 2010, 22:34
Location: Louisville, Kentucky

#2 Post by obxjerry »

I would put grub in sda2. In the grub tool I use you would type /dev/sda2. Do not type ect as shown in the example.
It may be that my sole purpose in life is simply to serve as a warning to others

Meddle Not In The Affairs Of Dragons For You Are Crunchy And Taste Good With Ketchup

I'd rather be sailing
hamolton
Posts: 6
Joined: Mon 17 Jan 2011, 17:23

#3 Post by hamolton »

grubconfig says it's read only. now what?
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#4 Post by Béèm »

What puppy version please.
What filesystem on sda2?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
hamolton
Posts: 6
Joined: Mon 17 Jan 2011, 17:23

#5 Post by hamolton »

puppy v. 5.2, on ext2.
moB
Posts: 116
Joined: Mon 19 Oct 2009, 11:25
Location: Coastal

#6 Post by moB »

hamolton wrote:grubconfig says it's read only. now what?
All these wizards make my head spin... Conan was right--no wizards! magic bad.

It looks as though you have at least two partitions on one HD:
  • .. [ms = ] GNU'nix = grub

    1. [c:\ = ] sda1 = (hd,0,0)

    2. [z:\ = ] sda2 = (hd0,1)
[List showing equivalent partition names.]

I write z, because I don't see your actual setup. msWin may call it whatever, but the point is that it's a second partition on the one physical drive.

If not, that changes things. (For a seond physical drive you'd have sdb1=(hd1,0), for example.)

I prefer to make manual grubinstall. See here: http://murga-linux.com/puppy/viewtopic. ... 14&start=5 & try again.
Perhaps the magic will work--if not do it yourself manually.
It worked for alternator, in the end :)

Can't see why the partition or directory is read only--are you leaving something out?

moB

But oh! shipmates!
on the starboard hand of every woe, there is a sure delight;
and higher the top of that delight, than the bottom of the woe is deep.
--Melville, Moby Dick

.
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#7 Post by Béèm »

I suppose you did boot from the CD.
Go to a terminal and type fdisk -l and post the output here.

Also type in a terminal mount / dev/sda2 /mnt/sda2
Then type mount and post the output here also.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
hamolton
Posts: 6
Joined: Mon 17 Jan 2011, 17:23

#8 Post by hamolton »

Thanks for all the responses...
I actually ended up unmounting the partition and the program worked. :?
Now how do I get the computer to boot to GRUB on sda2 instead of strait to Windows? I couldn't find anything in the bios. Should I modify the windows bootloader?
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#9 Post by Béèm »

Post the contents of menu.lst here
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
hamolton
Posts: 6
Joined: Mon 17 Jan 2011, 17:23

#10 Post by hamolton »

Code: Select all

# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'.  Mon Jan 17 12:16:45 2011
#
# 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/sda1)
  rootnoverify (hd0,0)
  makeactive
  chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
  title Linux (on /dev/sda2)
  root (hd0,1)
  kernel /boot/vmlinuz root=/dev/sda2 ro vga=773
# Linux 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/sda2)
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)
User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#11 Post by rcrsn51 »

When you install GRUB to dual-boot with Windows, there are two different configurations. It's hard to tell which one you used, but here is the easiest work-around at this point. Open a console and type these commands

Code: Select all

grub
root (hd0,1)
setup (hd0)
quit 
Reboot.

[Edit] You stated above that you have Puppy frugal, but your menu.lst is for a full install. I would recommend that you use the install method here.
hamolton
Posts: 6
Joined: Mon 17 Jan 2011, 17:23

#12 Post by hamolton »

Thank you!
I'm now neither mac nor pc!
I'm winlux!
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#13 Post by Béèm »

If you are happy and for the sake of fellow posters can you edit your initial post and add [SOLVED] at the end of it.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
Post Reply