Grub4DosConfig

Miscellaneous tools
Message
Author
User avatar
artifus
Posts: 303
Joined: Tue 06 Jul 2010, 19:29

#166 Post by artifus »

apologies if this has already been covered, haven't read the entire thread yet, but thought i'd post a quick report here anyway incase it helps.

old xp desktop machine with a few puppies to play with, currently: luci238, lupu 511, quirky1.3 and wary098. others come and go, all frugals in their own folders (oops! sorry, i mean directories...) on an ext2 partition.

grub4dos run from quirky fails to boot xp, reporting error 15. grub4dos run from luci238 fails to find quirky (labeled puppy in quirky grub4dos) but does boot into xp. didn't think to compare menu.lst before deleting old as i've only just noticed the behaviour but will do next time i need to pop into xp - but that may not be for some time...
Last edited by artifus on Thu 25 Nov 2010, 13:53, edited 1 time in total.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

some fails to boot

#167 Post by shinobar »

artifus wrote:grub4dos run from quirky fails to boot xp, reporting error 15. grub4dos run from luci238 fails to find quirky (labeled puppy in quirky grub4dos) but does boot into xp. didn't think to compare menu.lst before deleting old as i've only just noticed the behaviour but will do next time
The menu.lst would help us. Thanks.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
artifus
Posts: 303
Joined: Tue 06 Jul 2010, 19:29

#168 Post by artifus »

current menu.lst with no xp boot generated by quirky 1.3:

# menu.lst produced by grb4dosconf
color white/blue black/cyan white/black cyan/black
timeout 10
default 0

title luci
find --set-root --ignore-floppies /luci238/initrd.gz
kernel /luci238/vmlinuz pmedia=atahd psubdir=luci238
initrd /luci238/initrd.gz

title lupu
find --set-root --ignore-floppies /lucid/initrd.gz
kernel /lucid/vmlinuz pmedia=atahd psubdir=lucid
initrd /lucid/initrd.gz

title quirky
find --set-root --ignore-floppies /quirky/initrd.gz
kernel /quirky/vmlinuz pmedia=atahd psubdir=quirky
initrd /quirky/initrd.gz

title wary
find --set-root --ignore-floppies /wary/initrd.gz
kernel /wary/vmlinuz pmedia=atahd psubdir=wary
initrd /wary/initrd.gz

title xp
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr

title Grub4Dos commandline\n(for experts only)
commandline

title Reboot computer
reboot

title Halt computer
halt

will post luci238 generated list with booting xp but no listed quirky later

User avatar
artifus
Posts: 303
Joined: Tue 06 Jul 2010, 19:29

#169 Post by artifus »

generated by luci238 - xp boots, but no quriky and luci
fails to find save file.


# menu.lst produced by grub4dosconfig-v
color white/blue black/cyan white/black cyan/black
timeout 10
default 0

# Frugal installed Puppy

title luci
find --set-root --ignore-floppies /luci238/initrd.gz
kernel /luci238/vmlinuz pmedia=atahd psubdir=luci238 pfix=ram
initrd /luci238/initrd.gz

title luci RAM mode\nBoot up Puppy withot pupsave
find --set-root --ignore-floppies /luci238/initrd.gz
kernel /luci238/vmlinuz pmedia=atahd psubdir=luci238 pfix=ram,ram
initrd /luci238/initrd.gz

title lupu
find --set-root --ignore-floppies /lucid/initrd.gz
kernel /lucid/vmlinuz pmedia=atahd psubdir=lucid pfix=ram
initrd /lucid/initrd.gz

title wary
find --set-root --ignore-floppies /wary/initrd.gz
kernel /wary/vmlinuz pmedia=atahd psubdir=wary pfix=ram
initrd /wary/initrd.gz

# Windows
# this entry searches Windows on the HDD and boot it up
title xp\nBoot up Windows if installed
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

# additionals

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

hope this helps

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

#170 Post by rcrsn51 »

artifus wrote:generated by luci238 - xp boots, but no quriky and luci
fails to find save file.
That's because all your entries have "pfix=ram".

User avatar
artifus
Posts: 303
Joined: Tue 06 Jul 2010, 19:29

#171 Post by artifus »

well spotted... new to all this, don't ya know... i had assummed it would only pfix=ram if that option was selected in the grub menu, will try grub4dos from luci again and blank that option. still fails to detect quirky.
this is not an issue or a problem for me, i just thought i'd point it out for whoever is working on grub4dos in case it helps with development.
Last edited by artifus on Thu 25 Nov 2010, 14:15, edited 1 time in total.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Win xp and Quirky

#172 Post by shinobar »

artifus wrote:current menu.lst with no xp boot generated by quirky 1.3:

title xp
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
Older version of grab4dosconfig makes 3 entries for Windows.
You rewrote the 1st 'Vista/2008/7' entry to 'xp' and deleted 2nd and 3rd.
You needed to delete the 1st and rewite the 2nd, 'NT/2000/XP' entry.
These confusing 3 entries are simplified in the recent version of grub4dosconfig.

Quirky 1.3... it has unusual naming of the main sfs file without version number, 'quirky.sfs'.
Ummm...It is a big problem... 8)
Ok, i will manage by the next version.

Thanks for kind information, artifus.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
artifus
Posts: 303
Joined: Tue 06 Jul 2010, 19:29

#173 Post by artifus »

no worries

User avatar
artifus
Posts: 303
Joined: Tue 06 Jul 2010, 19:29

Re: Win xp and Quirky

#174 Post by artifus »

shinobar wrote: Quirky 1.3... it has unusual naming of the main sfs file without version number, 'quirky.sfs'.
i think quirky declared itself as puppy in grub4dos run from quirky

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

#175 Post by ICPUG »

Shinobar,

Barry plans to create all his future pups without a version number in the sfs name. He blogged about it some time ago. He now tacks the version number internally onto the end of the .sfs file.

Hope it doesn't make your work harder.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Puppy filenames

#176 Post by shinobar »

ICPUG wrote:Hope it doesn't make your work harder.
Already hard enough :lol: But hopefully i can manage.
Thanks ICPUG for the help pointing the nice reference.
http://bkhome.org/blog/?viewDetailed=01812
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

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

#177 Post by ICPUG »

broomdodger wrote:Thank you, for the info about WinME. From the (your?) Lin'N'Win site it seemed given that it worked.
Yes - I wrote the Lin'N'Win site and I checked it again to make sure I had not mentioned Win ME. I do specifically say Windows 2000, 9X or XP.

In my eyes ME has never been one of them. It was a practice run by Microsoft on how they can really mess things up (which they completed with Vista!) ;)
broomdodger wrote: Question: I read, maybe on the Lin'N'Win site, something about compatibility with Windows 7 and Lin'N'Win -- that it may be more compatible to use grub4dos. What can you tell me about that?
-Bill
Not sure I understand the question but I will give my thoughts regarding Windows 7 nevertheless.

At the moment Lin'N'Win does not cover Windows 7. Until recently I did not have a Windows 7 machine and since I got one I have been very slow to get up to speed. However, it is possible to dual boot Puppy with Windows 7 without messing with the MBR, using the files from Grub4DOS you need and no more.

Noryb009, who used my Lin'N'Win approach to provide an automatic installer preparer, extended Lin'N'Win to Windows 7. He has fed back the method to me and it will get into Lin'N'Win pretty soon now (since the progress of Noryb009 and Shinobar have shamed me into concentrating on getting this done).

You can read in Noryb009's thread (his post of 3rd Nov) about what needs to be done for Windows 7 here:
http://www.murga-linux.com/puppy/viewtopic.php?t=61404

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#178 Post by bigpup »

Here is my menu.lst from Grub4dos. Every entry works with no problems. It was auto made by Grub4dos by using the Grub4dos bootloader config.

# menu.lst produced by grub4dosconfig-v
color white/blue black/cyan white/black cyan/black
timeout 10
default 0

# Frugal installed Puppy

title luci_239 (sda3/puppy239)
find --set-root --ignore-floppies /puppy239/initrd.gz
kernel /puppy239/vmlinuz pmedia=atahd psubdir=puppy239 pfix=fsck
initrd /puppy239/initrd.gz

title luci_239 (sda3/puppy239) RAM mode\nBoot up Puppy withot pupsave
find --set-root --ignore-floppies /puppy239/initrd.gz
kernel /puppy239/vmlinuz pmedia=atahd psubdir=puppy239 pfix=ram,fsck
initrd /puppy239/initrd.gz

title lupu-511 (sda2/puppy511)
find --set-root --ignore-floppies /puppy511/initrd.gz
kernel /puppy511/vmlinuz pmedia=atahd psubdir=puppy511 pfix=fsck
initrd /puppy511/initrd.gz

title luci_236 (sda5/puppy236)
find --set-root --ignore-floppies /puppy236/initrd.gz
kernel /puppy236/vmlinuz pmedia=atahd psubdir=puppy236 pfix=fsck
initrd /puppy236/initrd.gz

title luci_237 (sdb1)
find --set-root --ignore-floppies /luci_237.sfs
kernel /vmlinuz pmedia=usbflash pfix=fsck
initrd /initrd.gz

# Full installed Linux

title Linux Mint 8 Helena - Main Edition (sda7)
uuid 2a7dc791-ef27-4a70-ae9e-f59d14bdfa18
kernel /vmlinuz root=/dev/sda7 ro
initrd /initrd.img

# Windows
# this entry searches Windows on the HDD and boot it up
title Windows\nBoot up Windows if installed
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

# additionals

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

Stripe
Posts: 658
Joined: Wed 23 Jun 2010, 05:18
Location: In a field. England

#179 Post by Stripe »

Hi shinobar

Been using v1.6.2 with all kinds of puppies, the only one so far that I have had to edit the grub menu for was 214X

Stripe

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#180 Post by sc0ttman »

Stripe wrote:Hi shinobar

Been using v1.6.2 with all kinds of puppies, the only one so far that I have had to edit the grub menu for was 214X

Stripe
Just a quick question, Stripe...

What exactly is your entry? Can you post it?
Because I wanted 214X to boot, but it won't! (All other Puppies have been fine..)

I added the entry and a frugal install, but it won't get past the booting process...
(it stop with some initrd message, some time after a switch root... but i had it bootin off usb no problem....)
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Stripe
Posts: 658
Joined: Wed 23 Jun 2010, 05:18
Location: In a field. England

#181 Post by Stripe »

Hi sc0ttman

Heres my grub4dos entry;

title 214-X5 (sda2/puppy214)
find --set-root --ignore-floppies /puppy214/initrd.gz
kernel /puppy214/vmlinuz pmedia=atahd psubdir=puppy214 root=/dev/ram0
initrd /puppy214/initrd.gz


Hope this helps
Stripe

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

#182 Post by shinobar »

Thanks bigpup, sc0tman and stripe.
Stripe wrote:title 214-X5 (sda2/puppy214)
find --set-root --ignore-floppies /puppy214/initrd.gz
kernel /puppy214/vmlinuz pmedia=atahd psubdir=puppy214 root=/dev/ram0
initrd /puppy214/initrd.gz
I will write about 'root=/dev/ram0' option on the document regarding the classic pup.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Grub4DosConfig v1.6.3

#183 Post by shinobar »

Updated Grub4DosConfig v1.6.3. See the top of this topic.
CHANGES:
  • Manage the issue USB flash devices treated by the 'BootFlash' corrupts with Grub4DosConfig. (Thanks to smokey01)
    But anyway, re-format the USB device using gparted before using Grub4DosConfig (back up the data before).
    1. Delete all the partition
    2. Rewrite the partition table (Device >> Create Partition Table)
    3. Create partitions and format.
  • Chainload PBR.
    Grub4DosConfig v1.6.3 gives menu items chainload the Partition Boot Records, like '(sda2:PBR)'.
    It does not always mean you can boot up from the partiton.
    There may be cases boot flag is on but the boot loader is not there.
    These items may be redundant because the OS is already listed up on the leading items.
    You can remove it from the menu after you are sure you can boot up the OS with another entry.
  • New Puppy simple filename support.(Thanks to artifus and ICPUG)
  • Classic Pup support, maybe not perfect.(Thanks to Stripe)
  • Tool tips.(Thanks to sc0ttman)
  • New icon. (Thanks to big_bass)
Thanks to all, and awaiting your report.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Sector size check

#184 Post by shinobar »

shinobar wrote:Manage the issue USB flash devices treated by the 'BootFlash' corrupts with Grub4DosConfig. (Thanks to smokey01)
Th Grub4DosConfig v1.6.3 checks the sector size, and gives error message like this:
Image

It occures only when you once treat the USB by the 'BootFlash' and then you re-format it with ext4 partition.
Because fat32 case, the Grub4DosConfig v1.6.3 escapes the issue by using smaller boot loader.

Anyway, I recommend to re-format the USB device using gparted before using Grub4DosConfig (back up the data before).
1. Delete all the partition
2. Rewrite the partition table (Device >> Create Partition Table)
3. Create partitions and format.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#185 Post by noryb009 »

Can you change "after escaping all the data" to "after backing up all the data"?

Post Reply