Grub config for Puppy 5.1.0 Full Install

Booting, installing, newbie
Post Reply
Message
Author
User avatar
maxpro4u
Posts: 293
Joined: Sat 19 Jun 2010, 18:20
Location: Rittman,Ohio,USA, In dog years,I'm dead
Contact:

Grub config for Puppy 5.1.0 Full Install

#1 Post by maxpro4u »

Is this correct for a full install of puppy 5.1.0?

Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Puppy Linux (on /dev/hda1)
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
# Linux bootable partition config ends

I tried to do a full install from a frugal install. I deleted the savefile and booted into ram then formatted and installed puppy.After reboot there were no entries for puppy,only windows which was gone after formatting the drive ext2. I am going to try again but I need a copy of the grub config to check what is made by the install script to compare before I reboot.
Dell D610 1.7M w/1024mb
Testing Slacko and a few others
I'm Max Wachtel and I approve this message.
Registered Linux User #393236

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

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

User avatar
maxpro4u
Posts: 293
Joined: Sat 19 Jun 2010, 18:20
Location: Rittman,Ohio,USA, In dog years,I'm dead
Contact:

#3 Post by maxpro4u »

thank you, everything else looks ok then?

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#4 Post by rjbrewer »

maxpro4u wrote:thank you, everything else looks ok then?
I did a full install from a frugal install about 1 1/2 yr. ago.

Had the temporary frugal on sda4 (it was necessary to have a
save file to make it work).

Used the universal installer to put full on sda3.

When it asked where files are, chose directory in left column and
the sfs in the right.

Made a grub entry for full.

With full install, reboot , do not save.

http://murga-linux.com/puppy/viewtopic. ... 94&t=39513

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
maxpro4u
Posts: 293
Joined: Sat 19 Jun 2010, 18:20
Location: Rittman,Ohio,USA, In dog years,I'm dead
Contact:

#5 Post by maxpro4u »

rcrsn51 wrote:kernel /boot/vmlinuz root=/dev/sda1 ro vga=normal
so this line
title Puppy Linux (on /dev/hda1)
is fine or should also be changed to
title Puppy Linux (on /dev/sda1)

thanks for your help
Dell D610 1.7M w/1024mb
Testing Slacko and a few others
I'm Max Wachtel and I approve this message.
Registered Linux User #393236

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#6 Post by ICPUG »

The title line is just a comment and doesn't execute anything.

You can say what you like there.

It would make sense to change hda1 to sda1 in the title line to avoid confusion when reading the script later.

User avatar
maxpro4u
Posts: 293
Joined: Sat 19 Jun 2010, 18:20
Location: Rittman,Ohio,USA, In dog years,I'm dead
Contact:

#7 Post by maxpro4u »

ICPUG wrote:The title line is just a comment and doesn't execute anything.

You can say what you like there.

It would make sense to change hda1 to sda1 in the title line to avoid confusion when reading the script later.
Thanks! Just trying to get everything ready before formatting again. With this old machine a full install may run a little faster.
Dell D610 1.7M w/1024mb
Testing Slacko and a few others
I'm Max Wachtel and I approve this message.
Registered Linux User #393236

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#8 Post by Karl Godt »

grub.cfg is for grub2 :

Code: Select all

menuentry 'Ubuntu, mit Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod ext2
	set root='(hd2,3)'
	search --no-floppy --fs-uuid --set 04f6c08a-0af3-4d95-8b3e-c7eb057bbb98
	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=04f6c08a-0af3-4d95-8b3e-c7eb057bbb98 ro   quiet splash
	initrd	/boot/initrd.img-2.6.32-24-generic
}

menuentry "quirky-130 (on /dev/sdc3)" {
	insmod ext2
	set root='(hd2,3)'
	search --no-floppy --fs-uuid --set 04f6c08a-0af3-4d95-8b3e-c7eb057bbb98
	linux /quirky130/vmlinuz pdev=sdc3 psubdir=quirky130
	initrd /quirky130/initrd.gz
}

menuentry "dpup001 (on /dev/sdc3)" {
	insmod ext2
	set root='(hd2,3)'
	search --no-floppy --fs-uuid --set 04f6c08a-0af3-4d95-8b3e-c7eb057bbb98
	linux /dpup001/vmlinuz pdev=sdc3 psubdir=dpup001
	initrd /dpup001/initrd.gz
}

menuentry "dpup003 (on /dev/sdc3)" {
	insmod ext2
	set root='(hd2,3)'
	search --no-floppy --fs-uuid --set 04f6c08a-0af3-4d95-8b3e-c7eb057bbb98
	linux /dpup003/vmlinuz pdev=sdc3 psubdir=dpup003
	initrd /dpup003/initrd.gz
}

menuentry "dpup005 (on /dev/sdc3)" {
	insmod ext2
	set root='(hd2,3)'
	search --no-floppy --fs-uuid --set 04f6c08a-0af3-4d95-8b3e-c7eb057bbb98
	linux /dpup005/vmlinuz pdev=sdc3 psubdir=dpup005
	initrd /dpup005/initrd.gz
}
the grub2 `grub-mkconfig -o /boot/grub/grub.cfg` uses the `linux-os-prober` command which seems not to recocnize 1. all mounted partitions (even its own) and 2. frugal installs only if there is no pup-save-.2/3fs-file already
to get the UUID : blkid command
grub2 does not uses 'kernel' but 'linux /boot/vmlinuz ...'
some entries work

Code: Select all

menuentry "     Opera_2 JUMP  " {
	root (hd2,7)
	linux /JUMP-8/vmlinuz pdev=sdc8 psubdir=JUMP-8 debug
	initrd /JUMP-8/initrd.gz
}
So the solution is also with the puppy grub-0.97 to install to mbr and --root-directory=/dev/sd** from frugal mode.

Full installs do install a new grub without problems but frugal might confuse /mnt/home or /initrd/mnt/dev_ro2
I think I`ve tried to install grub-0.97 from frugal mode some time ago and had been successless I think

LiveCD pfix=ram would be the best solution I think

HTH

User avatar
maxpro4u
Posts: 293
Joined: Sat 19 Jun 2010, 18:20
Location: Rittman,Ohio,USA, In dog years,I'm dead
Contact:

#9 Post by maxpro4u »

Thanks to all that replied. Seems that I made an error when I went about this. Wakepup was not working right because I failed to format my usb drive properly. It was formatted FAT and not FAT32. Once I changed it to 32 everything went well and I was able to boot from my usb drive and then do a full install. There was still an entry for windows in grub but I deleted it and all is well. I am a happy camper again.
Dell D610 1.7M w/1024mb
Testing Slacko and a few others
I'm Max Wachtel and I approve this message.
Registered Linux User #393236

Post Reply