A workable GRUB menu
It is best to have lupu in its own directory and to move these files
that belong to lupu inside that dir
Much appreciated proebler that you describe your way to set it up
that description can help people that wants to do it same way.
I leave you now in the hands of proebler to describe how he
set up the menu.lst for puppy and the other linuxes when one
have many partitions.
that belong to lupu inside that dir
Much appreciated proebler that you describe your way to set it up
that description can help people that wants to do it same way.
I leave you now in the hands of proebler to describe how he
set up the menu.lst for puppy and the other linuxes when one
have many partitions.
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
rmcellig,
your picture shows, that you now have copied the isolinux and manjaro directories to your flash drive.
That is what I did.
Note, that there was also a hidden file .miso in the manjaro iso. I copied that too, even though it appears to be an empty file.
The Grub4Dos menu.lst entry which I posted earlier should now hopefully work.
You will have to use root (hd0,0) since the manjaro directories are in the one and only fat32 partition of your flash drive.
I don't know whether it is ok to use the manjaro directories on a fat32 formatted partition, you will find that out.
good luck
your picture shows, that you now have copied the isolinux and manjaro directories to your flash drive.
That is what I did.
Note, that there was also a hidden file .miso in the manjaro iso. I copied that too, even though it appears to be an empty file.
The Grub4Dos menu.lst entry which I posted earlier should now hopefully work.
You will have to use root (hd0,0) since the manjaro directories are in the one and only fat32 partition of your flash drive.
I don't know whether it is ok to use the manjaro directories on a fat32 formatted partition, you will find that out.
good luck
Yes. I can still boot in puppy 528. Here are the contents of my menu.lst file which is on my 16GB stick.
Code: Select all
# menu.lst produced by grub4dosconfig-v1.7.2
color blue/cyan yellow/blue white/black cyan/black
timeout 10
default 0
# Frugal installed Puppy
title Lupu 528 (sdb1)
uuid 5170-7889
kernel /vmlinuz pmedia=usbflash pfix=fsck
initrd /initrd.gz
title Lupu 528 (sdb1) RAM mode\nBoot up Puppy without pupsave
uuid 5170-7889
kernel /vmlinuz pmedia=usbflash pfix=ram,fsck
initrd /initrd.gz
title Lupu 528 (sda1/puppy528)
find --set-root --ignore-floppies --ignore-cd /puppy528/initrd.gz
kernel /puppy528/vmlinuz pmedia=atahd psubdir=puppy528 pfix=fsck
initrd /puppy528/initrd.gz
title Puppy precise 5.5 (sda1/precise55)
find --set-root --ignore-floppies --ignore-cd /precise55/initrd.gz
kernel /precise55/vmlinuz pmedia=atahd psubdir=precise55 pfix=fsck
initrd /precise55/initrd.gz
title Puppy racy 5.5 (sda1/racy55)
find --set-root --ignore-floppies --ignore-cd /racy55/initrd.gz
kernel /racy55/vmlinuz pmedia=atahd psubdir=racy55 pfix=fsck
initrd /racy55/initrd.gz
title Puppy luki 023 (sda1/saluki23)
find --set-root --ignore-floppies --ignore-cd /saluki23/initrd.gz
kernel /saluki23/vmlinuz pmedia=atahd psubdir=saluki23 pfix=fsck
initrd /saluki23/initrd.gz
title Lupu 528 (sda6/my16GBstick)
find --set-root --ignore-floppies --ignore-cd /my16GBstick/initrd.gz
kernel /my16GBstick/vmlinuz pmedia=atahd psubdir=my16GBstick pfix=fsck
initrd /my16GBstick/initrd.gz
title Lupu 528 (sda6/thepupy528)
find --set-root --ignore-floppies --ignore-cd /thepupy528/initrd.gz
kernel /thepupy528/vmlinuz pmedia=atahd psubdir=thepupy528 pfix=fsck
initrd /thepupy528/initrd.gz
# Full installed Linux
title Ubuntu 12.04.2 LTS (sda1)
uuid 9149dc76-8d65-410d-8dea-d0b6cf95683c
kernel /vmlinuz root=/dev/sda1 ro
title Linux (sda3)
uuid b2b77a51-02f3-408d-87b4-93ee17b207d0
kernel /vmlinuz root=/dev/sda3 ro
initrd /initrd.img
title Manjaro Linux boot (sda4/boot)
uuid 3534475a-d82b-4e8e-91c3-e253b619cfbe
kernel /boot/vmlinuz-38-i686 root=/dev/sda4 ro
title Ubuntu 12.10 (sda6)
uuid 98946d9c-e2d8-4d57-87d4-60ee462fc12a
kernel /vmlinuz root=/dev/sda6 ro
initrd /initrd.img
# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
map (hd1) (hd0)
map (hd0) (hd1)
map --hook
errorcheck off
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
find --set-root --ignore-floppies --ignore-cd /io.sys
chainloader /io.sys
errorcheck on
# Boot from Partition Boot Sector
title Lupu 528 (sdb1:PBS)
uuid 5170-7889
chainloader +1
title Manjaro Linux boot (sda4:PBS)
map (hd1) (hd0)
map (hd0) (hd1)
map --hook
uuid 9149dc76-8d65-410d-8dea-d0b6cf95683c
chainloader +1
# additionals
title Bootup from HDD\nBootup from the master boot record of the hard disk drive
map (hd1) (hd0)
map (hd0) (hd1)
map --hook
chainloader (hd0)+1
title Find Grub menu on HDD
map (hd1) (hd0)
map (hd0) (hd1)
map --hook
errorcheck off
find --set-root --ignore-floppies --ignore-cd /menu.lst && configfile /menu.lst
find --set-root --ignore-floppies --ignore-cd /boot/grub/menu.lst && configfile /boot/grub/menu.lst
find --set-root --ignore-floppies --ignore-cd /grub/menu.lst && configfile /grub/menu.lst
errorcheck on
commandline
title Find Grub2\nBoot up grub2 if installed
find --set-root --ignore-floppies --ignore-cd /boot/grub/core.img
kernel /boot/grub/core.img
title Grub4Dos commandline\n(for experts only)
commandline
title Reboot computer
reboot
title Halt computer
halt
- Attachments
-
- 16gbstick.png
- (32.53 KiB) Downloaded 253 times
rmcellig,
so you have reformatted the flash drive?
And Manjaro is no longer on sdb1, only Lupu_528.
You appear to have Manjaro fully installed on your HDD sda4.
Did you install that from CD, is it manjaro-openbox-0.8.5-i686?
What can you run now , when you are presented with options from that menu.lst at boot up and what does not work?
For instance, does your Ubuntu 12.04.2 LTS (sda1) work
and are you back to where you started with Manjaro, i.e. Error 15, not booting?
In my experience, the menu.lst entries need an initrd line.
I don't know if that is actually a must, but it is not there in your entry:
So where is your intrd [.img or.gz?], is it in sda4/boot perhaps?
Note, that my initial post is NOT for a full install.
I only wanted to run Manjaro live from the USB [as from a Live-CD].
I do not have Manjaro fully installed, so I do not know whether there is an initrd and where it is.
so you have reformatted the flash drive?
And Manjaro is no longer on sdb1, only Lupu_528.
You appear to have Manjaro fully installed on your HDD sda4.
Did you install that from CD, is it manjaro-openbox-0.8.5-i686?
What can you run now , when you are presented with options from that menu.lst at boot up and what does not work?
For instance, does your Ubuntu 12.04.2 LTS (sda1) work
and are you back to where you started with Manjaro, i.e. Error 15, not booting?
In my experience, the menu.lst entries need an initrd line.
I don't know if that is actually a must, but it is not there in your entry:
Code: Select all
title Manjaro Linux boot (sda4/boot)
uuid 3534475a-d82b-4e8e-91c3-e253b619cfbe
kernel /boot/vmlinuz-38-i686 root=/dev/sda4 ro
Note, that my initial post is NOT for a full install.
I only wanted to run Manjaro live from the USB [as from a Live-CD].
I do not have Manjaro fully installed, so I do not know whether there is an initrd and where it is.
rmcellig wrote
That would then indicate that the initrd line is not a must.
Still, can you find Manjaro's intrd [.img or.gz?] ?
see my previous post
Yes, that could possibly do it.
It assumes, that with your laptop you use Grub as the boot manager.
From your initial post
I assume:
- that you initially used Grub4Dos [not Grub] as the laptop's boot manager.
- installing Manjaro then installed Grub by default
- you were then presented with the Grub interface [not the Grub4Dos] at boot. It did not show your Puppy entries.
- you then ran Grub4Dos again, trying to get Manjaro included in the [Grub4Dos] menu.lst
- you are now presented with the Grub4Dos interface at boot. It does now shows Manjaro, but it fails to load.
Now, since Manjaro does not load and since Grub4Dos is the boot manager, what is the point of doing the update-grub?
You cannot do it from Manjaro [it does not load].
You could perhaps try to do it from one of your other installed systems [the menu.lst from the flash drive shows Ubuntu 12.10 (sda6)].
However I think that it may not work. Running Grub4Dos alters the MBR [depends on the chosen option when you do it].
It may be easier to stick with Grub4Dos.
It's menu.lst can easily be edited.
With Grub2 it is more complicated [though update-grub is easy too, when it can be used and when it works as expected]
So, where on your laptop is your Grub4Dos menu.lst?
Can you show that list please.
[you have shown the one from the flash drive in the previous post]
So Ubuntu 12.04.2 LTS (sda1) boots ok too?I rebooted from the USB 16GB stick and from the grub menu was able to boot successfully into Xubuntu, Crunchbang and Lubuntu. These distros each have their own partition. on the internal HD in the laptop. Manjaro is the only one that does not boot properly.
That would then indicate that the initrd line is not a must.
Still, can you find Manjaro's intrd [.img or.gz?] ?
see my previous post
About the suggestion to use sudo update-grub:So where is your intrd [.img or.gz?], is it in sda4/boot perhaps?
Yes, that could possibly do it.
It assumes, that with your laptop you use Grub as the boot manager.
From your initial post
I installed Manjaro on my PC to try it out. It wiped out the GRUB menu I had created with Grub4DOS. All of my Puppy entries are gone. When I redid the GRUB menu using Grub4Dos, Manjaro would not load. errors were coming up on system start up.
I assume:
- that you initially used Grub4Dos [not Grub] as the laptop's boot manager.
- installing Manjaro then installed Grub by default
- you were then presented with the Grub interface [not the Grub4Dos] at boot. It did not show your Puppy entries.
- you then ran Grub4Dos again, trying to get Manjaro included in the [Grub4Dos] menu.lst
- you are now presented with the Grub4Dos interface at boot. It does now shows Manjaro, but it fails to load.
Now, since Manjaro does not load and since Grub4Dos is the boot manager, what is the point of doing the update-grub?
You cannot do it from Manjaro [it does not load].
You could perhaps try to do it from one of your other installed systems [the menu.lst from the flash drive shows Ubuntu 12.10 (sda6)].
However I think that it may not work. Running Grub4Dos alters the MBR [depends on the chosen option when you do it].
It may be easier to stick with Grub4Dos.
It's menu.lst can easily be edited.
With Grub2 it is more complicated [though update-grub is easy too, when it can be used and when it works as expected]
So, where on your laptop is your Grub4Dos menu.lst?
Can you show that list please.
[you have shown the one from the flash drive in the previous post]
Yes Ubuntu 12.04 LTS boots fine from the USB stick. I'm still trying to find the intrd file. Here are the contents of the grub.cfg file for Manjaro. Can't locate the menu.lst file that Manjaro generated.
Code: Select all
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
set menu_color_normal=light-green/black
set menu_color_highlight=yellow/black
insmod part_msdos
insmod ext2
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 3534475a-d82b-4e8e-91c3-e253b619cfbe
else
search --no-floppy --fs-uuid --set=root 3534475a-d82b-4e8e-91c3-e253b619cfbe
fi
if loadfont /boot/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_CA
insmod gettext
fi
terminal_input console
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 3534475a-d82b-4e8e-91c3-e253b619cfbe
else
search --no-floppy --fs-uuid --set=root 3534475a-d82b-4e8e-91c3-e253b619cfbe
fi
insmod png
background_image -m stretch /usr/share/grub/background.png
set timeout=25
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/06_grub-customizer_menu_color_helper ###
set color_normal=light-green/black
set color_highlight=yellow/black
### END /etc/grub.d/06_grub-customizer_menu_color_helper ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Manjaro Linux (Kernel: 3.8.6-1-MANJARO x32)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.6-1-MANJARO x32-true-3534475a-d82b-4e8e-91c3-e253b619cfbe' {
savedefault
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 3534475a-d82b-4e8e-91c3-e253b619cfbe
else
search --no-floppy --fs-uuid --set=root 3534475a-d82b-4e8e-91c3-e253b619cfbe
fi
echo 'Loading Linux 3.8.6-1-MANJARO x32 ...'
linux /boot/vmlinuz-38-i686 root=UUID=3534475a-d82b-4e8e-91c3-e253b619cfbe ro resume=UUID=f38c84b6-6c13-47b6-9dca-bd8fcc769e97
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-38-i686.img
}
menuentry 'Manjaro Linux (Kernel: 3.8.6-1-MANJARO x32 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.6-1-MANJARO x32-fallback-3534475a-d82b-4e8e-91c3-e253b619cfbe' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 3534475a-d82b-4e8e-91c3-e253b619cfbe
else
search --no-floppy --fs-uuid --set=root 3534475a-d82b-4e8e-91c3-e253b619cfbe
fi
echo 'Loading Linux 3.8.6-1-MANJARO x32 ...'
linux /boot/vmlinuz-38-i686 root=UUID=3534475a-d82b-4e8e-91c3-e253b619cfbe ro resume=UUID=f38c84b6-6c13-47b6-9dca-bd8fcc769e97
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-38-i686-fallback.img
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" --class memtest86 --class gnu --class tool {
insmod part_msdos
insmod ext2
set root='hd0,msdos4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 3534475a-d82b-4e8e-91c3-e253b619cfbe
else
search --no-floppy --fs-uuid --set=root 3534475a-d82b-4e8e-91c3-e253b619cfbe
fi
linux16 ($root)/boot/memtest86+/memtest.bin
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober_proxy ###
menuentry "Ubuntu 12.04.2 LTS (12.04)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-9149dc76-8d65-410d-8dea-d0b6cf95683c' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 9149dc76-8d65-410d-8dea-d0b6cf95683c
else
search --no-floppy --fs-uuid --set=root 9149dc76-8d65-410d-8dea-d0b6cf95683c
fi
linux /vmlinuz root=/dev/sda1
initrd /initrd.img
}
menuentry "Forsight Debian GNU/Linux (7.0)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-b2b77a51-02f3-408d-87b4-93ee17b207d0' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 b2b77a51-02f3-408d-87b4-93ee17b207d0
else
search --no-floppy --fs-uuid --set=root b2b77a51-02f3-408d-87b4-93ee17b207d0
fi
linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=b2b77a51-02f3-408d-87b4-93ee17b207d0 ro quiet
initrd /boot/initrd.img-3.2.0-4-amd64
}
menuentry "Ubuntu 12.10 (12.10)" --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-98946d9c-e2d8-4d57-87d4-60ee462fc12a' {
savedefault
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 98946d9c-e2d8-4d57-87d4-60ee462fc12a
else
search --no-floppy --fs-uuid --set=root 98946d9c-e2d8-4d57-87d4-60ee462fc12a
fi
linux /boot/vmlinuz-3.5.0-26-generic root=UUID=98946d9c-e2d8-4d57-87d4-60ee462fc12a ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.5.0-26-generic
}
### END /etc/grub.d/30_os-prober_proxy ###
### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Because Manjaro is a GRUB2 distro, you may be able to boot it from Grub4Dos with this
Code: Select all
title Manjaro Linux boot (sda4/boot)
uuid 3534475a-d82b-4e8e-91c3-e253b619cfbe
kernel /boot/grub/core.img
Thanks rcrsn51
I replaced the code already in the Grub4dos generated menu.lst with the one you posted. Didn't work. I get this error:
Booting Manjaro Linux boot (sda4/boot)
setting root to (hd1,3)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/grub/core.img
Error 15: File not found
Press any key to continue...
Pressing any key just returns me to the grub menu list.
I replaced the code already in the Grub4dos generated menu.lst with the one you posted. Didn't work. I get this error:
Booting Manjaro Linux boot (sda4/boot)
setting root to (hd1,3)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/grub/core.img
Error 15: File not found
Press any key to continue...
Pressing any key just returns me to the grub menu list.
-
- Posts: 112
- Joined: Sat 02 Feb 2013, 07:26
What does the PBS stand for?
Code: Select all
title Lupu 528 (sdb1:PBS)
uuid 5170-7889
chainloader +1
rmcellig,
what do you see in sda4/boot/ ?
do you have sda4/boot/i686/ ? what is in it?
or
sda4/boot/grub/i386-pc/ ? what is in it?
also
you write
that seems strange
what do you see in sda4/boot/ ?
do you have sda4/boot/i686/ ? what is in it?
or
sda4/boot/grub/i386-pc/ ? what is in it?
also
you write
and thenI replaced the code already in the Grub4dos generated menu.lst with the one you posted. Didn't work. I get this error:
Booting Manjaro Linux boot (sda4/boot)
but your GParted picture showed sda4 as ext4setting root to (hd1,3)
Filesystem type is ext2fs, partition type 0x83
that seems strange