Grub4DosConfig

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

Grub4DosConfig v1.7

#261 Post by shinobar »

UPDATE: Grub4DosConfig v1.7
# 10feb11 v1.7: sort the probepart result, install on internal or removable drives, fix typo at checking boot_part

Must be more stable :wink:
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

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

#262 Post by bigpup »

I am not seeing V1.7 on the download site.
http://182.164.208.91/puppy/pup4/opt/pets/

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

Downloads

#263 Post by shinobar »

[quote="bigpup"]I am not seeing V1.7 on the download site.
Ops, sorry. Now it is there:
http://shino.pos.to/linux/puppy/
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

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

#264 Post by bigpup »

Not sure if you know about this:
Grub24dos
http://grub24dos.sourceforge.net/

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

#265 Post by nooby »

BigPup that was a good find. Hope someone do a pet or sfs of that one.

They tell so little but the good thing would be that one get the features of grub2 in a well known grub4dos format of how to set it all up?

Thanks indeed for telling us. I longed for something this for a long time but I know too little to handle scripts.

here is a link to screenshots of how it works?
http://sourceforge.net/project/screensh ... _id=379924
I use Google Search on Puppy Forum
not an ideal solution though

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

Grub24dos

#266 Post by shinobar »

bigpup wrote:Not sure if you know about this:
Grub24dos
http://grub24dos.sourceforge.net/
Thanks bigpup for the interesting information.

It is quite interesting, seems sophiscated and so large (same as the original grub2 it self) that i do not follow up for now.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

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

#267 Post by bigpup »

Hope you are safe!!!!!

Could this be done with Grub4dos?
How to give your Grub menu a password
http://www.murga-linux.com/puppy/viewtopic.php?t=58860

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

How to give your Grub menu a password

#268 Post by shinobar »

Thanks bigpup, me and my family are all safe and fine.
bigpup wrote:How to give your Grub menu a password
Grub4Dos config > Grub4Dos Guide > Password Protecting Boot Options
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

gcmartin

#269 Post by gcmartin »

Are there any similar instructions for GRUB4DOS to boot an ISO?

Thanks in advance

gcmartin

#270 Post by gcmartin »

gcmartin wrote:Are there any similar instructions for GRUB4DOS to boot an ISO?
Is there a GRUB4DOS config that can be posted?

Thanks in advance

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

#271 Post by noryb009 »

gcmartin:

Add this to your menu.lst:

Code: Select all

find --set-root --ignore-floppies /path/to/file.iso
map /path/to/file.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)
boot
More info here: http://diddy.boot-land.net/grub4dos/files/map.htm#hd32

EDIT:
Just read the thread you linked.
1) Install GRUB4DOS to the USB
2) Create/edit menu.lst in the root(?) of the drive with the above code
3) Set boot flag.
4) Reboot and start from the USB.

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

#272 Post by nooby »

Yes such code works on USB but it fail to boot iso on internal HDD that are formatted in NTFS unless you make a partition with ext2 or such or go the USB route while Grub2 using the loop thing can boot from hdd if one have grub2 on the usb but the iso on the internal hdd I am on such now Peppermint-Ice-10012010.iso
I use Google Search on Puppy Forum
not an ideal solution though

vanchutr
Posts: 438
Joined: Sat 05 Aug 2006, 12:04

#273 Post by vanchutr »

This is my works. It may be good on others systems? Please test it and give me more informations!

How to boot an .iso from grub
1. I'd make an iso file with this code

Code: Select all

mkisofs -R -b grldr -no-emul-boot -boot-load-size 4 -o grldr.iso iso_root
*** The grldr.iso contains these files: ..., vmlinuz, initrd.gz, pup-432.sfs, ... and others appropriates stuffs

2. Copy the made "grldr.iso" to C: (C: is an Windows' partition - fat 32). This is an partition is managed by grub loader.
3. Start Windows and run "WinContig" to defrag C: partition
4. Now restart the machine. Then I can boot the made "grldr.iso". This is the menu entry to boot the .iso file:

Code: Select all

title TEST 1 BOOT PUPPY ISO ON C AND RUN IN RAM
find --set-root --ignore-floppies /grldr.iso
map /grldr.iso (hd32)
map --hook
root (hd32)
chainloader (hd32)
boot
*** If I don't use "WinContig" -> Boot this "grldr.iso", I will meet this error: "Error 60: File for drive emulator must be in one contiguous disk area".
NB: Before test this, I'd renamed all the pup-432.sfs in hard disk (in all partitions). This is sure to know that the system boot "grldr.iso"
This will help me to test new puppy's .iso (without need virtualbox or other emulator ... may be?)

Thank

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

#274 Post by nooby »

vanchutr , yes thanks, the reason it works are that you have Fat32 while AFAIK all new computers sold in Sweden with Windows on them have format NTFS that was so on the latest 5 computers that I bought since 2003 and I don't plan to buy another one. :)

Sure you can wipe out all the Ms or you can take away the warranty from the OEM by resizing the whole thing. I am not into such things. I want true Dual boot with total compatibility and grub2 on the usb stick gives me that.

It start booting from the usb but take the iso from the HDD. No change to the Ms Windows is needed.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
jim3630
Posts: 791
Joined: Mon 14 Feb 2011, 02:21
Location: Northern Nevada

#275 Post by jim3630 »

Using v1.7 on a frugal install ext4 flashdrive. several times on different boxes it would not recognize puppy frugal installs on the hdd. either on ext3 or ext4 would not recognize the os.

have not read all pages but this is probable known bug. I reverted to v1.6ish and did recognizes those previously lost pups. hope helps.

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

UPDATE: grub4dos-0.4.4.v1.7.1

#276 Post by shinobar »

Was failed with some environmnt when the 1st partition is ext4 file system.
grub4dos-0.4.4.v1.7.1.pet (Update: 29 Oct 2011) now available. See top post of this ropic.
You are encouraged to give feed back as a replay of this topic.

* 29oct11 v1.7.1: fix was failed with ext4(thanks to jim3630 and billtoo), drive letter, gtkdialog4 thanks to 01micko, help button, no sort probepart, bootable check
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#277 Post by playdayz »

grub4dos-0.4.4.v1.7.1.pet (Update: 29 Oct 2011) now available. See top post of this ropic.
You are encouraged to give feed back as a replay of this topic.

* 29oct11 v1.7.1: fix was failed with ext4(thanks to jim3630 and billtoo), drive letter, gtkdialog4 thanks to 01micko, help button, no sort probepart, bootable check
Shinobar, I am not clear. Are these bugs in the latest 1.7.1 version? If so, is there a fix coming soon? Thanks.

User avatar
Ray MK
Posts: 774
Joined: Tue 05 Feb 2008, 09:10
Location: UK

#278 Post by Ray MK »

Hi playdayz

My understanding is -

The failing was in 1.7 - where if the first parttion on a drive
was formated ext4 - grub4dos failed to work.
(ext2, ext3 as first partition worked)

grub4dos 1.7.1 fixed the failing ext4 first partition scenario.

HTH - very best regards - Ray

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

#279 Post by shinobar »

@playdayz
v1.7.1 is bug fixed version as Ray says.
But i tested on the Lucid Puppy 528, the old (version v1.7) still works with no problem.

Means you need not upgrade grub4dos as for the lupu 528 version.
Consider to upgrade at next lucid test release if you have a plan.
Ray MK wrote:The failing was in 1.7 - where if the first parttion on a drive
was formated ext4 - grub4dos failed to work.
Right. But the failure depends on the version of util-linux(fdisk).
It occurs on Racy beta 2. (Potentially on Wary 5.2, Slacko if users manually install grub4dosconfig v1.7.)
No problem on Lucid 528, LupQ-511, Quickset Wary-511-01q...
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#280 Post by jemimah »

I think grub4dosconfig is having difficulty with my card reader.

Code: Select all

grub4dosconfig 
BINSTALLER=bootlace.com
sda(MBR)_250.1GB_ATA_WDC_WD2500BEKT-6
fd0_(FLOPPY_DISK)
mmcblk0p_0kB_
sdb_160.0GB_WD_1600BEV_External
sdd_1.9GB__USB_Flash_Memory

# df -h /mnt/mmcblk0p1/
Filesystem            Size  Used Avail Use% Mounted on
/dev/mmcblk0p1        3.9G   83M  3.8G   3% /mnt/mmcblk0p1
You can see it's reporting 0kb but it's not doing the right thing with partition name, which is I suppose should be mmcblk0, not mmcblk0p. The device names with these card readers seem not to follow the normal naming convention.

Post Reply