Quirky 7 not on boot list

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
RoyBell
Posts: 50
Joined: Tue 07 Feb 2012, 06:23
Location: Leeds UK

Quirky 7 not on boot list

#1 Post by RoyBell »

I've just installed Quirky 7 to a multi boot (Linux only) computer on sda7.

How do I alter the Grub menu contained on sda1 so that it comes up on the startup menu?
I'm using grub 2.02.


I can get to it with the Terminal on sda1 and I've entered a menu entry at the bottom in 40_custom and done grub-update:
The grub-update see's it but it dosen't come up on the startup list when I boot up.

What have I done wrong?

Code: Select all

#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.

#menuentry "Gentoo Base System release 2.2 (on /dev/sda4)" --class gnu-linux --class gnu --class os {
#       recordfail
#       insmod part_msdos
#       insmod ext2
#       set root='(hd0,4)'
#       search --no-floppy --fs-uuid --set=root 15939b1b-4f68-4e67-8dba-c117eeb51841
#       linux /boot/vmlinuz-3.14.14-gentoo root=/dev/sda4 
##      initrd /initrd.img
#}

menuentry "Gentoo Base System release 2.2 (on /dev/sda4)" --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(hd0,4)'
        search --no-floppy --fs-uuid --set=root 15939b1b-4f68-4e67-8dba-c117eeb51841
        linux /boot/vmlinuz-3.17.8-gentoo-r1 root=/dev/sda4 
#       initrd /initrd.img
}

menuentry "Quirky 6.89 full install (on /dev/sda7)" --class gnu-linux --class gnu --class os {
        recordfail
        insmod part_msdos
        insmod ext2
        set root='(hd0,7)'
        search --no-floppy --fs-uuid --set=root a445550e-a48f-451f-b621-9cd8be13b41b
        linux /boot/vmlinuz root=/dev/sda7  
#       initrd /initrd.img

}


What have I done wrong?
When I was young I knew everything.
Now I'm old I know nothing but I'm much wiser.

User avatar
L18L
Posts: 3479
Joined: Sat 19 Jun 2010, 18:56
Location: www.eussenheim.de/

Re: Quirky 7 not on boot list

#2 Post by L18L »

RoyBell wrote:What have I done wrong?
Maybe sda7 should be hd(0,6) ?

User avatar
Ted Dog
Posts: 3965
Joined: Wed 14 Sep 2005, 02:35
Location: Heart of Texas

#3 Post by Ted Dog »

I would remove ( actually cut paste the entire section to new menuentry then ) the set and search lines there is a flaw in how uuid is developed by BK and I could only get his setup to work his way copied to grub2 like you it all got messed up.

I have an entry for April in my UEFI thread using loopmount iso. that works for me but is not really installed :D

User avatar
ETP
Posts: 1193
Joined: Tue 19 Oct 2010, 19:55
Location: UK

#4 Post by ETP »

@RoyBell,

A guess but may be worth a try.
Change:

Code: Select all

linux /boot/vmlinuz root=/dev/sda7
To:

Code: Select all

linux /boot/vmlinuz root=UUID=a445550e-a48f-451f-b621-9cd8be13b41b rw
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]

RoyBell
Posts: 50
Joined: Tue 07 Feb 2012, 06:23
Location: Leeds UK

#5 Post by RoyBell »

Hi L18L,
I've checked the sda7 and its correct.
I think the hd(0,x) format is for Grub 1 and I'm using 2.

Hi ETP,
I tried your suggestion and it made no difference.

Hi Ted Dog,
I don't understand what you're saying.
I think I'd need a step by step instruction.
"update-grub" finds Quirky7 but it doesn't come up on the list on bootup.
When I was young I knew everything.
Now I'm old I know nothing but I'm much wiser.

Post Reply