How to edit GRUB menu.lst to boot Puppy?

Booting, installing, newbie
Message
Author
User avatar
craftybytes
Posts: 298
Joined: Fri 17 Nov 2006, 10:32
Location: QLD AUSTRALIA

#61 Post by craftybytes »

sheine,

If I read your posts correctly - your MEPIS & your Pclinuxos & Ubuntu - all boot up OK - you only seem to be having probs with the installs of Puppy..?

All I can say is - 'look' at how those distro's are "worded" in the menu.lst file - AND LEARN from them...!!!

I would say that the 'MEPIS' listing is the closest to what you need for Puppy - SO - as an example I list it here:
title MEPIS at sda6, newest kernel
root (hd0,5)
kernel /boot/vmlinuz root=/dev/sda6 nomce quiet vga=791
boot
NOW - as an example I will list your Puppy (sda9):
title Puppy on sda9
root (hd0,8 )
kernel /boot/vmlinuz root=/dev/sda9 ro vga=normalboot
So what are the differences..?

In the Puppy listing :-

1. (hd0,8 ) ... should be ... (hd0,8) = NO SPACE after the figure '8'..!

2. kernel /boot/vmlinuz root=/dev/sda9 ro vga=normalboot

should read

kernel /boot/vmlinuz root=/dev/sda9 ro vga=normal
boot

[i.e.. it is not 'normalboot' - BUT - 'normal {carriage return / line feed} the boot on the "next" line - see MEPIS entry as guide ]

The 'boot' line - tells GRUB that it should use the previous lines to setup and boot the machine..DUH..!!

Now you may ask why there is no 'boot' line for the Puppy frugal install - well - it uses the "initrd" line to initiate the boot sequence - as alienjeff pointed out:
title Puppy v3.00 Frugal (on /dev/sda8)
root (hd0,7)
kernel (hd0,7)/puppy300/vmlinuz root=/dev/ram0 ro vga=normal PMEDIA=idehd psubdir=puppy300
initrd (hd0,7)/puppy300/initrd.gz
I strongly recommend that - if you already have Linux's installed on your machine AND they successfully boot - you should LOOK at how the listing for each of these is done in the GRUB "menu.lst" file - and use them as a guide to what you may need to 'list' Puppy - then if you still have probs - THEN ask on the forums for help..!!

Many of our more knowledgable Puppy posters to this thread have offered very sound guidance - BUT - you still have not grasped the bull-by-the-horns..

Sorry to be offputting..

HTH..

crafty.
.
.
3 x boot:- ASROCK VIA 'all-in-one' m/b; AMD Duron 1.8Ghz+; 1.0GB RAM; 20GB hdd (WinXP Pro); 80GB hdd (MEPIS 3.4-3/Puppy v2.15CE Frugal); 1GB USB pendrive (Puppy 2.15CE Frugal); CD/DVDRW; 17" LCD monitor; HSF 56k modem... MEPIS is great.. Puppy ROCKS..

User avatar
technowomble
Posts: 74
Joined: Thu 11 Oct 2007, 17:04
Location: West Gloucestershire, UK

Boot problem - frugal install

#62 Post by technowomble »

I'm having a similar problem to the one sheine originally posted with, I've done a frugal install of Puppy 2.17 - actually the Prism beta - and can't get it to boot. I'm pretty up to speed on linux in general, but this is the first time I've tried editing a grub menu, I found the original script provided gave a file not found error, trying some suggestions from this thread got me to the point where I was getting the kernel panic message. Here's my menu.lst - ignore the two entries of /puppy217, all that's done is to get me back to ' error 15 - file not found '!

Apologies, can't work out how to post the menu.lst, copy/paste doesn't seem to work!

Bruce B

#63 Post by Bruce B »

one method


ctrl+a to select
ctrl+c to copy to clipboard
ctrl+v to paste into application


another method

select text with mouse and leave selected
click down on mouse wheel to paste into application

another method
too hard to post howto, but it has to do with menu options

User avatar
technowomble
Posts: 74
Joined: Thu 11 Oct 2007, 17:04
Location: West Gloucestershire, UK

#64 Post by technowomble »

timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/usr/share/gfxboot/themes/pclinuxos/boot/message
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/hda1 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/hda1
initrd (hd0,0)/boot/initrd.img

title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/hda1 failsafe
initrd (hd0,0)/boot/initrd.img

title Puppy Linux 217 frugal
rootnoverify (hd0,0)
kernel /puppy217/vmlinuz root=/dev/hd0,0 pmedia=idehd
intrid /puppy217/intrird.gz

Thanks Bruce, I've never come across this method before!

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#65 Post by alienjeff »

It's "initrd" and not "intrid" ...
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

Bruce B

#66 Post by Bruce B »

And one more GRUB error and I hope the frugal really is on GRUB's (hd0,0) along with your other Linux.

change: root=/dev/hd0,0

to this: root=/dev/ram0

User avatar
technowomble
Posts: 74
Joined: Thu 11 Oct 2007, 17:04
Location: West Gloucestershire, UK

#67 Post by technowomble »

Thanks guys, Prism is now booting perfectly. :)

Bruce B

#68 Post by Bruce B »

So far we've had two successes and two thanks in this topic. Thanks for the thanks!

marlinnhag
Posts: 3
Joined: Sat 13 Oct 2007, 08:21

Having Boot issues that seem relevant to this

#69 Post by marlinnhag »

Ok.. So where to begin after a few weeks I have actually got Grub to be recognized at bootup time but still cant get to a desktop. I am pretty sure the issue lies in what is entered into the menu.lst file. Here is a breakdown on the laptop:

Sony Vaio 450MHz 432mgs of ram and 60gig HD and (non working DVD drive)

I have partiioned the hard drive like so:

Primary partition #
1 Tagged as boot EXT2 10gig
2 EXT2 49gig
3 Linux/Swap 1gig
All of the space allocated is close but not exact.

Now I installed Puppy to Partition #1 and Installed Grub there to the MBR. I have read everywhere that you must edit the menu.lst file. But I cant figure out what to put in it. There are about 30 lines of code in there already and when people say put "this" in the menu.lst file I dont know where to put or what to erase to replace with it...ETC

The results that have got me the farthest so far was to erase everything from the bottom all the way until this started having the # right before I got there this is what I entered.

title Puppy Linux 3.00
rootnoverify (hd0,0)
kernel /vmlinuz pmedia=idehd
initrd /initrd.gz


After putting that in I thought I had it until I go this error:

"Searching for puppy files in computer disk drives..."
/bin/sh: Can't access tty; job control turned off
#(insert blinking cursor here)

So I saw this post, and just tried to get rid of "initrd /initrd.gz and replace that with "boot"

I then got this error:
Uncompressing Linux... Ok, booting the kernel.
kernel panic - not syncing: VFS: unable to mount root fs on unkown- block (3,7)

can someone please help, and tell exactly what it should say in the menu.lst file

PS this is not a Frugal install.. Linux will own and dominate partition#1

Thank you for your help I will be happy to provide you with as many more answerss to any questions that you may have.

Bruce B

#70 Post by Bruce B »

Welcome!

My guess is you have a Frugal install even though you think its Full. I base this on your overall description of the problems you're having.

Presuming Frugal, we could try a few changes:


From:

title Puppy Linux 3.00
rootnoverify (hd0,0)
kernel /vmlinuz pmedia=idehd
initrd /initrd.gz


To:


title Puppy Linux 3.00
rootnoverify (hd0,0)
kernel /vmlinuz root=/dev/ram0 pmedia=idehd
initrd /initrd.gz


If no good then to:


title Puppy Linux 3.00
rootnoverify (hd0,0)
kernel (hd0,0)/vmlinuz root=/dev/ram0 pmedia=idehd
initrd (hd0,0)/initrd.gz


Then maybe and if still no good report back, report back anyway, okay?

title Puppy Linux 3.00
rootnoverify (hd0,0)
kernel (hd0,0)/vmlinuz root=/dev/ram0 pmedia=idehd nopcmcia
initrd (hd0,0)/initrd.gz


In case I'm wrong and you have actually have a Full install, this would be a default starting point.

title Puppy Linux 3.00 Full Install
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#71 Post by Sage »

Shame that sheine turned out to be a complete tw*t. This thread contains some real gems and deserves to be preserved as a valuable reference source.

jonyo

#72 Post by jonyo »

Mods plz remove this idiotic (sic) comment
Sage wrote:Shame that sheine turned out to be a complete tw*t..
& my own here if you wish.

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#73 Post by Pizzasgood »

I've never seen the word "twit" censored before. Is it stronger in the UK than stateside? Over here, it's somewhere between "moron" and "idiot", neither of which are censored unless dealing with small children (hmm... a subtle "extra" insult? A childish twit?).


I'm against removing things in general, because I don't like the idea of enforced civility. I like having the option to be rude once in a while without being punished, even if I never use it. Otherwise things start getting too totalitarian for my tastes. No guns, no books, and no unhappy. Freedom is a trade off. If you want freedom, you have to accept that other people will have it too, and may use it in a way you don't agree with. In my mind, the occasional rude outburst we get is a fair price for not living in a "moderator state".

So as far as I'm concerned, it stays unless Sage himself decides to remove it. If you disagree, feel free to go over my head. That doesn't bother me. When you live in a city with big towers and a big airport you get used to stuff like that ;)
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
Ian
Official Dog Handler
Posts: 1234
Joined: Wed 04 May 2005, 12:00
Location: Queensland

#74 Post by Ian »

The main objective of this forum is to discuss Puppy and any problems, solutions, suggestions and criticisms that people may wish to put forward.

The title of this section is 'Beginners Help' so I think the main objective would be to help beginners, which you are all doing admirably at the moment so, thank you and keep up the good work.

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#75 Post by alienjeff »

Pizzasgood wrote:I've never seen the word "twit" censored before.
How about "twat?"
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#76 Post by Pizzasgood »

Yes, I hadn't heard that particular word before. Sage filled me in via PM. Are you seconding the removal or just making an attempt to fill in the many gaps in my head?
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#77 Post by alienjeff »

My intent was merely to enhance your vocabulary.

I don't believe the post in question should be removed. The request was made by someone who has made numerous such requests in the past, and he has since vacated the forum.

Besides, the "offensive" word in the "offensive" post isn't even a word.
sh-3.00# dict tw*t
No definitions found for "tw*t", perhaps you mean:
gcide: Twit ewt Tat Tit TNT Tot Tut Two
wn: TT twat twit cwt tat TDT Tet tit TNT tot two
moby-thes: twit tit tot two
vera: awt cwt dwt fwt iwt tat tft tht tot tpt trt
tut twb
foldoc: tt tw awt tet twm
sh-3.00#
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

User avatar
headfound
Posts: 371
Joined: Sun 25 Jun 2006, 00:58
Location: England
Contact:

#78 Post by headfound »

lol. In the UK, 'twat' refers to a part of the female anatomy.

edit .
Duh! But now I obviously realise you already knew that... (smacks head...)
Download a better Computer :)
[url=http://uk.youtube.com/watch?v=rDTLJYDHX3g]Puppy Linux Song[/url]
[url=http://www.letterbyletter.co.uk]www.letterbyletter.co.uk[/url]

hamoudoudou

Just change the Puppy Name

#79 Post by hamoudoudou »

# /menu-advanced.lst produced by grub4dosconfig-v1.9.2

title Back to the main menu
configfile /menu.lst
commandline

title Puppy X Upup 17.05 (sdd1/XupupRome) Safe mode (without X)\nTry 'xorgwizard' after bootup succeed to start graphic mode.
find --set-root --ignore-floppies --ignore-cd /XupupRome/initrd.gz
kernel /XupupRome/vmlinuz psubdir=XupupRome pfix=ram,nox nosmp noapic i915.modeset=0 radeon.modeset=0 nouveau.modeset=0
initrd /XupupRome/initrd.gz

title Puppy X Upup 17.05 (sdd1/XupupRome) RAM mode\nBoot up Puppy without pupsave
find --set-root --ignore-floppies --ignore-cd /XupupRome/initrd.gz
kernel /XupupRome/vmlinuz psubdir=XupupRome pfix=ram
initrd /XupupRome/initrd.gz

# Multiple Windows

title Previous menu(sdd1/menu-2017-09-01-061136.lst)
uuid 28C5-6025
configfile /menu-2017-09-01-061136.lst
commandline

# Boot from Partition Boot Sector

title XENIALDOG- porteus-boot - save on EXIT changes=/mnt/sda3/DebianDog/usbrouge.dat
uuid 28C5-6025
chainloader +1

Post Reply