A workable GRUB menu

Using applications, configuring, problems
Message
Author
rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

A workable GRUB menu

#1 Post by rmcellig »

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.

What should I do so that Grub works with all my distros and displays them all properly on startup (hopefully with large font size so I can see the Grub menu properly).
Last edited by rmcellig on Thu 28 Nov 2013, 21:54, edited 2 times in total.

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

#2 Post by Karl Godt »

:lol:

Honesttly : Djangaro forum should help better
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#3 Post by rmcellig »

I thought because I want to use Grub4DOS that I would find an answer in this forum. I will try out the Manjaro forum as well.

How is it going with the Full install of Macpup?

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

#4 Post by Karl Godt »

Boot is well. Many BK scripts to play around with though . Locale settings and their impact on binaries is on the list at the moment .

bash-3.00# history |tail
2093 partview2.02
2094 chmod +x /usr/sbin/partview2.02
2095 partview2.02
2096 chmod +x /usr/sbin/partview2.03
2097 partview2.03
2098 man switch_root
2099 pgprs-connect
2100 which partview2.03
2101 which GTKdlg_chooselocale2
2102 history |tail
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#5 Post by rmcellig »

Thanks! I posted something on their forum. Maybe it has something to do with them being Arch based.

proebler
Posts: 178
Joined: Tue 24 Jan 2012, 11:15
Location: TAS

#6 Post by proebler »

hi rmcellig,

This is how I just did it.
For manjaro-openbox-0.8.5-i686.
- downloaded the iso
- opened the iso in Puppy [Rox-filer]
- copied to flash drive sdb6
- edited the Grub4Dos menu.lst [on sdb1], by adding the following entry:

Code: Select all

title  Manjaro-Live [Openbox (sdb6)]
 root (hd0,5)
  kernel /manjaro/boot/i686/manjaroiso misobasedir=manjaro misolabel=MJRO_085 nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 logo.nologo overlay=free showopts
  initrd=/manjaro/boot/i686/manjaro.img 
- saved the menu.lst
- rebooted > success, it worked!

Hint: I got the idea for the kernel and initrd menu lines from [manjaro's] /isolinux/isolinux.cfg

My menu.lst on that flash drive contains a variety of OSs, at the moment 16 of them.
Grub4Dos is excellent!

I hope this helps, cheers
proebler

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#7 Post by rmcellig »

I am going to try that out. At the moment my menu.lst file resides on sda. I will try creating a new menu.lst file on my USB stick and see what happens. I'll post back with the results.

I love Grub4dos as well!!

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#8 Post by nooby »

rmcellig wrote:I am going to try that out. At the moment my menu.lst file resides on sda. I will try creating a new menu.lst file on my USB stick and see what happens. I'll post back with the results.

I love Grub4dos as well!!
Yes and please share with us if you succeed and what format
you use on the USB is it ext2 or 3 or 4 and if you use Fat32
as most of them already are formatted by default?

proebler having 16 on it is that an external spinning HD then?
Even if you had 32Gb it would only give 2GB to each of them?

Thanks for sharing the menu.lst you used much appreciated indeed.
I use Google Search on Puppy Forum
not an ideal solution though

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#9 Post by rmcellig »

I am using a 16 GB USB stick formatted ext 4 FAT32. I already have puppy 5.2.8 on it so I will create a new menu.lst file on it and post back with the results. Hope it works :)

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#10 Post by nooby »

So it has two partitions then? or does the ext4 refer to that the save file
is ext4? sorry me so dense. :)
I use Google Search on Puppy Forum
not an ideal solution though

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#11 Post by rmcellig »

Sorry. My mistake. The save file is ext3 format.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#12 Post by nooby »

Okay then it is a Fat32 USB flash
and you have done a frugal install
using grub4dos on it I guess the Manjaro
os too big? Does it not need it's own partition too?

proebler has 16 such partitions on an external
USB that either is SSD or a standard Sata spinning HD.

But I know too little I will try his code on the HD and see what happens.
Most likely it tells me my NTFS is not contigious.
Then I will try Manjaro on USB using Isobooter method
and that is something you could consider too but it will
wipe your Lupu so you would need to first back up the save file
and then add the puppy iso and the save file manually.

I should not give advice I barely get what I do so
Hope somebody good at computers will get motivated
to help you out. proebler most likely know such things.

Manjaro being Arc based needs that one can read RTFM
I use Google Search on Puppy Forum
not an ideal solution though

proebler
Posts: 178
Joined: Tue 24 Jan 2012, 11:15
Location: TAS

#13 Post by proebler »

My USB flash drive is 16 GB also.

Correction: There are 13 OSs, I counted in some which have different boot parameters but use the same base.

No problem having 13 OSs, since many are Puppies, for some there is no save file and where there is a save file, it is only a small one.
There is plenty of space left for a few more :)

1st partition is fat32, 1GB. That is where I let Grub4Dos put grldr together with the menu.lst.

The other three partitions of the drive are ext2 and vary in size.
Two of these partitions are in an extended one.
Obviously, with just three ext2 partitions, some contain multiple OSs, no problem.

Bodhi_2.2.0-Live-Enlightnment-Midori4.7
Manjaro-Live_0.8.5 [Openbox (sdb6)]
Zenlive-7.2-Xfce4-FFox
Slackel-Openbox-2.0_Midori-4.8 INSTALL_ONLY! (not a Live system)[SMP]
Slax-7.0.5_KDE_FFox-18 Persist-USB /changes
Puppy-Slacko-5.5-4G [non-PAE]
Puppy-Precise-5.4.2-retro [non-PAE]
Upup-Precise_3.7.2[Permasu's non-PAE]
PureOS_7.0 [Chrome,VERY few apps]
Puppy-Lupu-5.2.8.005
Puppy-Dpup-Extremo [Debian squeeze]
Puppy-LXPup
Puppy Saluki-023

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#14 Post by rmcellig »

Wow proebler !

That's awesome having all those distros on a 16GB stick.

I need to further clarify my situation.

My internal HD on my laptop has Manjaro on SDA4
I also have Lubuntu on another partition and Crunchbang on another partition as well. They are all ext4 formatted with a separate Swap file partition.
Attachments
laptop.png
(73.2 KiB) Downloaded 367 times
16GBstick.png
(46.84 KiB) Downloaded 299 times

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#15 Post by rmcellig »

This is the contents of my 16GB USB stick. Does it look OK, in regards to proebler's reply to me a few posts back?
Attachments
16GBstickcontents.png
(52.27 KiB) Downloaded 475 times

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#16 Post by nooby »

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.
I use Google Search on Puppy Forum
not an ideal solution though

proebler
Posts: 178
Joined: Tue 24 Jan 2012, 11:15
Location: TAS

#17 Post by proebler »

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

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#18 Post by rmcellig »

Doesn't seem to work (Filesystem type is FAT, Error 15 file not found error) probably because I have a my 16GB stick formatted as fat32. If I reformatted the drive as ext4, would that work?

proebler
Posts: 178
Joined: Tue 24 Jan 2012, 11:15
Location: TAS

#19 Post by proebler »

rmcellig,
you can still boot into Lupu_528, can you?
Please show your menu.lst entry for manjaro.

If you do decide to reformat, you could use ext2, which is easier for the flash drive.

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#20 Post by rmcellig »

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

Post Reply