LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-01-2010, 01:43 PM   #1
jcmahne
Member
 
Registered: Nov 2010
Posts: 43

Rep: Reputation: 3
Grub boot loader with puppy linux


I'm trying out puppy linux, as I have an old system, and the new Ubuntus do not work on it.I discovered that after a whole day of struggling.
Anyway,I cannot boot from my hard drive but only from the floppy.I'm just not too keen on always booting from the floppy.
Here is the Menu.ls file:
I will appreciate any help.


# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Mon Nov 1 17:23:27 2010
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Linux (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
# 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,0)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/sda1)
root (hd0,0)
setup (hd0,0)
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)
 
Old 11-01-2010, 02:08 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
When you installed Puppy. Did you do a full or frugal install? What version of Puppy?

Quote:
Anyway,I cannot boot from my hard drive but only from the floppy.I'm just not too keen on always booting from the floppy.

Did you install grub to mbr or where did you install grub to (root maybe)? Did you flag the Puppy partition as boot when you formatted drive? What kind of computer and specs are you using to boot puppy with?

http://puppylinux.org/main/Puppy430-...al-English.pdf


http://puppylinux.org/main/index.php...ll%20Puppy.htm

http://puppylinux.org/main/index.php...ard%20Disk.txt

Edited Links

Last edited by rokytnji; 11-01-2010 at 02:11 PM.
 
Old 11-01-2010, 03:21 PM   #3
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
/boot/grub/menu.lst sorry but it dos,nt look right,you need to do another one.
 
Old 11-02-2010, 12:49 AM   #4
jcmahne
Member
 
Registered: Nov 2010
Posts: 43

Original Poster
Rep: Reputation: 3
Hi
The version is 5.11.It's a full install.The pc is a pentium3 500 mb ram.
I selected the floppy as an option to install the boot menu.Then when it boots I selected the option to install the boot loader to the hard drive.It seems to keep both options open (as I can gather from the Menu.list file).
It does have an option to boot directly to the mbr too.
How do I access the MBR directly and what should it read?
 
Old 11-02-2010, 02:04 AM   #5
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
puppy grub

I've tried and installed 'puppy' successfully but what a pain in the rear end. It seems to be meant as a live 'sample'; get grub to work and then try your internet connection on the hard drive! Puppy looks pretty but Xubuntu is more practical, an installation that works with little effort.

Fred.
 
Old 11-02-2010, 02:29 AM   #6
jcmahne
Member
 
Registered: Nov 2010
Posts: 43

Original Poster
Rep: Reputation: 3
Hi Rokytnji,
I did flag the partition as boot, as you suggested.No go.
I'm not that clued up on grub.
Well no one said that linux was easy...
 
Old 11-02-2010, 06:51 AM   #7
jcmahne
Member
 
Registered: Nov 2010
Posts: 43

Original Poster
Rep: Reputation: 3
Thanks for all the help.i finally figured it out.

There are three options for installing the boot loader: Floppy,Block or MBR.

I took the block option, which walks you through, and reinstalled the grub loader to the primary partition.It asks you to confirm the partition, but there was only one in my case.

Then I discovered that after the boot loader had installed,it had generated the same menu.ls script on the hard drive, which was the one that I posted above.The reason for this is to create a boot floppy, which will come in handy if things go wrong.

Next I uncommented the timeout which is set to 30 seconds as a default.(This was the reason that it would only boot from the floppy, because the boot loader was waiting for the return key).

When the pc booted up I selected the option to make a boot floppy, and made one.
Then I went and set the time out to zero, so there is no delay on boot up.




# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Mon Nov 1 17:23:27 2010
#
# Start GRUB global section
timeout 0
color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Linux (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
boot
------rest of script remains the same-------



I'm still no grub expert but i winged it and it seems to work ok.

Thanks again everyone for helping out.Hope this info will help someone else too.
Linux is free, but it always needs some work.

Johann

Last edited by jcmahne; 11-03-2010 at 05:30 AM. Reason: Correction
 
  


Reply



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
puppy 5.01 grub loader afullmetalwar Linux - Software 2 06-03-2010 12:53 PM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 01:47 PM
Two hard disks - dual boot ( XP - Linux ) using microsoft boot loader, not grub cristy88 Linux - General 2 12-17-2007 06:26 PM
Grub boot loader menu shows two linux boot options pramos Linux - Newbie 3 09-12-2004 11:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration