Grub4DosConfig

Miscellaneous tools
Message
Author
User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

#161 Post by broomdodger »

nooby wrote:Here is the menu.lst code that Shinobar gave me and that actually did work.

You could at least try it. If it goes to teh wrong part you only have to gracefully shut down from windows.

Nothing wrong can happen as long as you don't say yes to any command they ask for to get completed.

I had same experience as you but did not go ahead with the recover process. I backed out of that one and asked Shinobar what to do instead and he came up with a working solution

# Windows

title Windows Vista/2008/7\nBoot up Windows Vista/2008/7 if installed
rootnoverify (hd0,1)
chainloader /bootmgr

As I get it this allow me to boot any OS on the machine as long as I get code to the initrd if it is a puppie or maybe initrd.lz if it is older type ubuntu.
Thank you, nooby. That is for Vista/2008/7 and I am using XP.

My menu.lst was similar but chainloader pointing to ntldr. I tried both of these, same problem:

title Windows XP
rootnoverify (hd0,1)
chainloader /ntldr

title Windows XP
find --set-root --ignore-floppies /ntldr
chainloader /ntldr

But 'either' of these worked on another similarly configured PC, same partitions, etc.

-Bill

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

Special Windows (HP m7160n)

#162 Post by shinobar »

broomdodger wrote:My menu.lst was similar but chainloader pointing to ntldr. I tried both of these, same problem:

title Windows XP
rootnoverify (hd0,1)
chainloader /ntldr

title Windows XP
find --set-root --ignore-floppies /ntldr
chainloader /ntldr

But 'either' of these worked on another similarly configured PC, same partitions, etc.
Thanks Bill for joining us.
Can you find from Puppy 'ntrldr' at /mnt/sda1 or /mnt/sda2, or somewhere else?
Is it hidden somewhere?
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:

Chainload

#163 Post by shinobar »

Or, simply we could do:
Title Windows on /dev/sda2
rootnoverify (hd0,1)
chainloader +1
See another variations:
http://www.murga-linux.com/puppy/viewto ... 691#466691
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
broomdodger
Posts: 279
Joined: Sat 10 May 2008, 02:38
Location: Santa Cruz, CA

Re: Special Windows (HP m7160n)

#164 Post by broomdodger »

shinobar wrote:Can you find from Puppy 'ntrldr' at /mnt/sda1 or /mnt/sda2, or somewhere else?
Is it hidden somewhere?
Are you asking where ntldr is located? If yes, /mnt/sda2.

Yes it is a hidden protected operating system file when viewed from Windows, easy to see from a Puppy.
It is the WinXT and Win2000 loader ie based on "NT Technology" also known as c:\ntldr

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

Re: Special Windows (HP m7160n)

#165 Post by shinobar »

broomdodger wrote:
shinobar wrote:Can you find from Puppy 'ntrldr' at /mnt/sda1 or /mnt/sda2, or somewhere else?
Is it hidden somewhere?
Are you asking where ntldr is located? If yes, /mnt/sda2.
Thanks, broomdodger. I believe the grub4dosconfig v1.6.1 and later can manage. But also i am refining it more safe and easy.
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

#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]

Post Reply