Jump to content











Photo
* * * * * 2 votes

post here anything that crosses your mind about grub4dos


  • Please log in to reply
250 replies to this topic

#176 Motasem

Motasem

    Frequent Member

  • Advanced user
  • 169 posts
  • Interests:War Make's Men And Problems Make's You Expert
    MooT®
  •  
    Jordan

Posted 21 March 2013 - 02:42 PM

And that will be ? Menu command ?

#177 steve6375

steve6375

    Platinum Member

  • Developer
  • 6954 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 21 March 2013 - 02:54 PM

Instructions are on my site here



#178 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14792 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 21 March 2013 - 02:54 PM

Thread title edited to reflect the usage.

Was:

 

 

grub4dos, .iso images and (hd32) or (0xFF) mapping 

 

is now:

 

post here anything that crosses your mind about grub4dos

 

 

:cheers:

Wonko


  • ilko likes this

#179 halikus

halikus

    Frequent Member

  • Advanced user
  • 110 posts
  •  
    Canada

Posted 28 March 2013 - 10:45 PM

Anything that crosses my mind about grub4dos, eh?  I think its useful.

 

 

Also, i think these are useful.

 


title    Boot ISO (Disk)\n  This will list ISOs in the directory ISO and allow you to boot them
ls /ISO/
set /p MYISO=Which ISO do you want to boot?
ls /ISO/%MYISO% || echo ISO %MYISO% NOT FOUND! && configfile /boot/grub4dos/menu.lst
map /ISO/%MYISO%.iso (0xff)
#map /ISO/%MYISO%.iso (hd32)
map --hook
chainloader (0xff)
#chainloader (hd32)
boot


title    Boot ISO (Memory)\n  This will list ISOs in the directory ISO and allow you to boot them
ls /ISO/
set /p MYISO=Which ISO do you want to boot?
ls /ISO/%MYISO% || echo ISO %MYISO% NOT FOUND! && configfile /boot/grub4dos/menu.lst
map --mem /ISO/%MYISO%.iso (0xff)
#map --mem /ISO/%MYISO%.iso (hd32)
map --hook
chainloader (0xff)
#chainloader (hd32)
boot


title    Boot IMG (Floppy Image)\n  This will list IMGs in the directory ISO and allow you to boot them
ls /ISO/
set /p MYIMG=Which IMG do you want to boot?
ls /ISO/%MYIMG% || echo IMG %MYIMG% NOT FOUND! && configfile /boot/grub4dos/menu.lst
map --mem /ISO/%MYIMG%.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)


title    Boot GZ zipped file
ls /boot/EXTRA/
set /p MYGZ=Which GZ zipped file do you want to boot?
ls /boot/EXTRA/%MYGZ% || echo GZ %MYGZ% NOT FOUND! && configfile /boot/grub4dos/menu.lst
kernel /boot/grub4dos/memdisk
initrd /boot/EXTRA/%MYGZ%.gz
 


  • Motasem likes this

#180 steve6375

steve6375

    Platinum Member

  • Developer
  • 6954 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 28 March 2013 - 10:54 PM

You could also add the partnew command for ISO booting for max bootability

title    Boot ISO (Disk)\n  This will list ISOs in the directory ISO and allow you to boot them
ls /ISO/
set /p MYISO=Which ISO do you want to boot?
ls /ISO/%MYISO% || echo ISO %MYISO% NOT FOUND! && configfile /boot/grub4dos/menu.lst
map /ISO/%MYISO%.iso (0xff)
#enable parttype output
debug on
# make empty table entry in 4th position in ptn table - but check if free first...
parttype (hd0,3) | set check=
debug off
set check=%check:~-5,4%
if "%check%"=="0x00" partnew (hd0,3) 0x00 /ISO/%MYISO%.iso
if not "%check%"=="0x00" pause --wait=3 WARNING: PTN TABLE 4 IS ALREADY IN USE - CANNOT USE PARTNEW!
debug on
map --hook
chainloader (0xff)

 


  • Motasem likes this

#181 halikus

halikus

    Frequent Member

  • Advanced user
  • 110 posts
  •  
    Canada

Posted 29 March 2013 - 12:04 AM

thanks, ill have to try that out.  What i would really like is if i could get the ls command to list the isos in descending order, or be able to select them with the arrow keys like a normal entry.  -C and -1 don't work.

 

Also, the following entry will list all HDDs with bootmgr.  A few other bootloaders too.

 

iftitle [if exist (hd0,0)/bootmgr] Boot to Windows VISTA/7/8 on (hd0,0)
chainloader (hd0,0)/bootmgr
iftitle [if exist (hd0,1)/bootmgr] Boot to Windows VISTA/7/8 on (hd0,1)
chainloader (hd0,1)/bootmgr
iftitle [if exist (hd0,2)/bootmgr] Boot to Windows VISTA/7/8 on (hd0,2)
chainloader (hd0,2)/bootmgr
iftitle [if exist (hd0,3)/bootmgr] Boot to Windows VISTA/7/8 on (hd0,3)
chainloader (hd0,3)/bootmgr
iftitle [if exist (hd0,4)/bootmgr] Boot to Windows VISTA/7/8 on (hd0,4)
chainloader (hd0,4)/bootmgr
iftitle [if exist (hd1,0)/bootmgr] Boot to Windows VISTA/7/8 on (hd1,0)
chainloader (hd1,0)/bootmgr
iftitle [if exist (hd1,1)/bootmgr] Boot to Windows VISTA/7/8 on (hd1,1)
chainloader (hd1,1)/bootmgr
iftitle [if exist (hd1,2)/bootmgr] Boot to Windows VISTA/7/8 on (hd1,2)
chainloader (hd1,2)/bootmgr
iftitle [if exist (hd1,3)/bootmgr] Boot to Windows VISTA/7/8 on (hd1,3)
chainloader (hd1,3)/bootmgr
iftitle [if exist (hd1,4)/bootmgr] Boot to Windows VISTA/7/8 on (hd1,4)
chainloader (hd1,4)/bootmgr
iftitle [if exist (hd2,0)/bootmgr] Boot to Windows VISTA/7/8 on (hd2,0)
chainloader (hd2,0)/bootmgr
iftitle [if exist (hd2,1)/bootmgr] Boot to Windows VISTA/7/8 on (hd2,1)
chainloader (hd2,1)/bootmgr
iftitle [if exist (hd2,2)/bootmgr] Boot to Windows VISTA/7/8 on (hd2,2)
chainloader (hd2,2)/bootmgr

title    Windows Setup and PE (DVD or USB /bootmgr) \n    Boot the Windows BCD boot menu
find --set-root /bootmgr
chainloader /bootmgr

iftitle [if exist /boot/grub/g2ldr]    Grub2 \n    Boot Grub2
find --set-root --ignore-floppies /boot/grub/g2ldr
chainloader /boot/grub/g2ldr
boot

iftitle [if exist /boot/isolinux/syslinux.bin]    Syslinux (USB)\n    Boots Syslinux from USB - Remember to run make MBR and syslinux.bin bat so that your USB boots
find --set-root /boot/isolinux/syslinux.bin
chainloader /boot/isolinux/syslinux.bin

iftitle [if exist /boot/isolinux/isolinux.bin]    Isolinux (CD or DVD)\n    Isolinux from CD or DVD
find --set-root --ignore-floppies /boot/isolinux/isolinux.bin
chainloader --force /boot/isolinux/isolinux.bin
boot

 

Run BT5 and Ubuntu.  Notice the paths.

 


iftitle [if exist /BT5/casper/vmlinuz]    BackTrack 5 (1024x768) Persistent\n    Type startx (needs BT5 iso in \BT5\ and .disk dir in root)
kernel /BT5/casper/vmlinuz file=/cdrom/preseed/custom.seed live-media-path=/BT5/casper boot=casper persistent locale=en_US.UTF-8 keyb=us textonly noprompt vga=791--
initrd /BT5/casper/initrd.gz

iftitle [if exist /casper/vmlinuz]    Ubuntu 12.14\n    Needs .disk dir and Casper in root
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed live-media-path=/casper boot=casper locale=en_US.UTF-8 keyb=us textonly noprompt vga=791--
initrd /casper/initrd.lz

 

 

 

A few gz \ img files i boot

 

 


title    Offline NT/2000/XP/Vista/7 Password Changer\n  Windows Password Reset
kernel /boot/EXTRA/Pass_Reset vga=1
initrd /boot/EXTRA/Pass_Reset.gz


title    Fix "NTLDR is Missing"\n  Fix NTLDR is missing in XP installs
kernel /boot/grub4dos/memdisk
initrd /boot/EXTRA/ntldr_FIX.gz



title    HDT Hardware diagnostic\n  Hardware diagnostic
kernel /boot/grub4dos/memdisk
initrd /boot/EXTRA/HDT.gz


title    Plop Boot Manager\n  Force boot off USB when bios wont allow it
find --set-root /boot/grub4dos/plpbt.bin
kernel /boot/EXTRA/plpbt.bin


title    SBM Boot Manager\n  SBM Boot Manager
kernel /boot/grub4dos/memdisk
initrd /boot/EXTRA/SBM_Boot_Manager.gz
 

And finally, list available partitions.

 

title    List partitions
clear
cat (hd0,0)+1 > (md)800+1 && parttype (hd0,0) && echo Contents of (hd0,0): && ls (hd0,0)/ && echo && echo --------
cat (hd0,1)+1 > (md)800+1 && parttype (hd0,1) && echo Contents of (hd0,1): && ls (hd0,1)/ && echo && echo --------
cat (hd0,2)+1 > (md)800+1 && parttype (hd0,2) && echo Contents of (hd0,2): && ls (hd0,2)/ && echo && echo --------
cat (hd0,3)+1 > (md)800+1 && parttype (hd0,3) && echo Contents of (hd0,3): && ls (hd0,3)/ && echo && echo --------
cat (hd0,4)+1 > (md)800+1 && parttype (hd0,4) && echo Contents of (hd0,4): && ls (hd0,4)/ && echo && echo --------
cat (hd0,5)+1 > (md)800+1 && parttype (hd0,5) && echo Contents of (hd0,5): && ls (hd0,5)/ && echo && echo --------
cat (hd0,6)+1 > (md)800+1 && parttype (hd0,6) && echo Contents of (hd0,6): && ls (hd0,6)/ && echo && echo --------

cat (hd1,0)+1 > (md)800+1 && parttype (hd1,0) && echo Contents of (hd1,0): && ls (hd1,0)/ && echo && echo --------
cat (hd1,1)+1 > (md)800+1 && parttype (hd1,1) && echo Contents of (hd1,1): && ls (hd1,1)/ && echo && echo --------
cat (hd1,2)+1 > (md)800+1 && parttype (hd1,2) && echo Contents of (hd1,2): && ls (hd1,2)/ && echo && echo --------
cat (hd1,3)+1 > (md)800+1 && parttype (hd1,3) && echo Contents of (hd1,3): && ls (hd1,3)/ && echo && echo --------
cat (hd1,4)+1 > (md)800+1 && parttype (hd1,4) && echo Contents of (hd1,4): && ls (hd1,4)/ && echo && echo --------
cat (hd1,5)+1 > (md)800+1 && parttype (hd1,5) && echo Contents of (hd1,5): && ls (hd1,5)/ && echo && echo --------
cat (hd1,6)+1 > (md)800+1 && parttype (hd1,6) && echo Contents of (hd1,6): && ls (hd1,6)/ && echo && echo --------

cat (hd2,0)+1 > (md)800+1 && parttype (hd2,0) && echo Contents of (hd2,0): && ls (hd2,0)/ && echo && echo --------
cat (hd2,1)+1 > (md)800+1 && parttype (hd2,1) && echo Contents of (hd2,1): && ls (hd2,1)/ && echo && echo --------
cat (hd2,2)+1 > (md)800+1 && parttype (hd2,2) && echo Contents of (hd2,2): && ls (hd2,2)/ && echo && echo --------
cat (hd2,3)+1 > (md)800+1 && parttype (hd2,3) && echo Contents of (hd2,3): && ls (hd2,3)/ && echo && echo --------
cat (hd2,4)+1 > (md)800+1 && parttype (hd2,4) && echo Contents of (hd2,4): && ls (hd2,4)/ && echo && echo --------
cat (hd2,5)+1 > (md)800+1 && parttype (hd2,5) && echo Contents of (hd2,5): && ls (hd2,5)/ && echo && echo --------
cat (hd2,6)+1 > (md)800+1 && parttype (hd2,6) && echo Contents of (hd2,6): && ls (hd2,6)/ && echo && echo --------

cat (hd3,0)+1 > (md)800+1 && parttype (hd3,0) && echo Contents of (hd3,0): && ls (hd3,0)/ && echo && echo --------
cat (hd3,1)+1 > (md)800+1 && parttype (hd3,1) && echo Contents of (hd3,1): && ls (hd3,1)/ && echo && echo --------
cat (hd3,2)+1 > (md)800+1 && parttype (hd3,2) && echo Contents of (hd3,2): && ls (hd3,2)/ && echo && echo --------
cat (hd3,3)+1 > (md)800+1 && parttype (hd3,3) && echo Contents of (hd3,3): && ls (hd3,3)/ && echo && echo --------
cat (hd3,4)+1 > (md)800+1 && parttype (hd3,4) && echo Contents of (hd3,4): && ls (hd3,4)/ && echo && echo --------
cat (hd3,5)+1 > (md)800+1 && parttype (hd3,5) && echo Contents of (hd3,5): && ls (hd3,5)/ && echo && echo --------
cat (hd3,6)+1 > (md)800+1 && parttype (hd3,6) && echo Contents of (hd3,6): && ls (hd3,6)/ && echo && echo --------
echo
pause --wait=5 Please check available partitions...
configfile /boot/grub4dos/menu.lst



#182 steve6375

steve6375

    Platinum Member

  • Developer
  • 6954 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 29 March 2013 - 12:11 AM

I wrote a batch file which only lists files of a specified extension - e.g.

findfileext.g4b /ISO  .iso

will list iso files in the /ISO folder as

 

fred.iso

doris.iso

jim.iso

 

but they are listed in the order they appear in the volume directory (write order).

You can find the batch file in the \grub folder in the Easy2Boot v1 download.



#183 halikus

halikus

    Frequent Member

  • Advanced user
  • 110 posts
  •  
    Canada

Posted 31 March 2013 - 08:27 PM

Thanks Steve, exactly what i was looking for.  I never knew about Easy2boot or g4b files before today.  Its like me finding the god particle :)   Easy2Boot and bats deffinatly opens alot of possibilities.

 

A quick question.  When you use the partnew trick, is it only supposed to work on USB sticks?   I assume so as it needs to write (map) to a partition.   As i want to have it work on both cd and USB, i was thinking of simplifying an lst version for cds.  What is the real benefit of that trick, stabiity for setting the root?

 

I wrote a batch file which only lists files of a specified extension - e.g.
findfileext.g4b /ISO  .iso

will list iso files in the /ISO folder as

 

fred.iso

doris.iso

jim.iso

 

but they are listed in the order they appear in the volume directory (write order).

You can find the batch file in the \grub folder in the Easy2Boot v1 download.



#184 steve6375

steve6375

    Platinum Member

  • Developer
  • 6954 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 31 March 2013 - 10:06 PM

Partnew writes an entry into the MBR sector. This is a sector write and so the medium needs to be writeable and have an MBR with a partition table.

When linux boots, it mounts all partitions. One of them is the partition entry made by partnew which starts at the start of the ISO file. Linux therefore sees a CDFS filesystem and mounts it - now it can access all the files inside the ISO file because it has been mounted as a filesystem. 

The partnew entry I use, uses a partition type of 0 because linux does not care about the partition type.

P.S. I think the batch file was actually ListFileExt.g4b  to list files...



#185 Motasem

Motasem

    Frequent Member

  • Advanced user
  • 169 posts
  • Interests:War Make's Men And Problems Make's You Expert
    MooT®
  •  
    Jordan

Posted 31 March 2013 - 11:22 PM

is this entry parament or temp steve ?

#186 steve6375

steve6375

    Platinum Member

  • Developer
  • 6954 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 31 March 2013 - 11:41 PM

It re-writes the sector, so if done using a real system, the sector will be permanently altered until it is written to again with different data.



#187 Motasem

Motasem

    Frequent Member

  • Advanced user
  • 169 posts
  • Interests:War Make's Men And Problems Make's You Expert
    MooT®
  •  
    Jordan

Posted 31 March 2013 - 11:45 PM

maby these's a missunderstanding for me! dos that means if i have g4d bootable usb and used entry with part new it will overite it ? or dos partnew use an empty secor as secrot 0 for g4d ?

#188 sir_bootalot

sir_bootalot

    Member

  • Members
  • 41 posts
  •  
    Finland

Posted 01 April 2013 - 05:00 AM

Tried to boot Clonezilla iso from SATA HD:

 

title Clonezilla
find --set-root /ISOs4gr4d/clonezilla.iso
map --heads=0 --sectors-per-track=0 /ISOs4gr4d/clonezilla.iso (0xff)
map --hook
root (0xff)
loopback loop /ISOs4gr4d/clonezilla.iso
kernel /live/vmlinuz boot=live live-config union=aufs nolocales noprompt vga=788 ip=frommedia toram findiso=/ISOs4gr4d/clonezilla.iso
initrd /live/initrd.img

 

It said the file must be one contiguous disk area. The solution to make it contiguous on hd partition (non-fragmented)? (The file is on NTFS, but I can place it on ext2, FAT or whatever if needed)

The bootup segment above ok?

 

For sure Conezilla iso can be booted from SATA hd? No?

How about Parted Magic, Partition Wizard, Hiren's, Ultimate Boot CD, System Rescue CD etc?

You have ready grub4dos boot segments for those handy?

 

Please don't say read this and this and this thread, including the one I'm posting to....


Edited by sir_bootalot, 01 April 2013 - 05:21 AM.


#189 steve6375

steve6375

    Platinum Member

  • Developer
  • 6954 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 01 April 2013 - 08:38 AM

maby these's a missunderstanding for me! dos that means if i have g4d bootable usb and used entry with part new it will overite it ? or dos partnew use an empty secor as secrot 0 for g4d ?

The partnew command takes several parameters. The first one is the partition table entry - e.g.

 

partnew (hd0,3) 0x00 /mylinux.iso

 

So this creates a new partition table entry for hd0,3  - the fourth partition entry on you boot drive. Usually this is empty. You can add code to check this using parttype:

 

 

iftitle [if exist /tails-i386-0.15.iso] Tails (boot from ISO)
set ISO=tails-i386-0.15.iso
find --set-root %ISO%
debug on
parttype (hd0,3) | set check=
set check=%check:~-5,4% 
if %check%==0x00 partnew (hd0,3) 0x00 %ISO%
if NOT %check%==0x00 echo ERROR: Partion Table entry 4 already exists! && pause --wait=3 && configfile /menu.lst 
map /%ISO% (0xff)
echo -e \r\n
map --hook
root (0xff)
chainloader (0xff)

The ISO file must be contiguous, so use Wincontig  (included in RMPrepUSB) to make it contiguous.



#190 Motasem

Motasem

    Frequent Member

  • Advanced user
  • 169 posts
  • Interests:War Make's Men And Problems Make's You Expert
    MooT®
  •  
    Jordan

Posted 01 April 2013 - 11:42 PM

ok i need to understand this steve

 

in which situation we need to use partnew command ? why we need to creat partition table entry ?

 

for example when Rufus makes usb xp install stick i check the mbr of it and there's the word of ( press any key to boot from usb ) and thats the same word shown when you boot from the usb made by rufus so i wonder if this can be made by partnew if its as i understand it

and thats why when using that rufus xp install there's only 1 step at installation and at next step it knows if you have already done the stage 1 ( text setup ) we already used rufus ntldr but can we write partnew on empty sector ?  of rufus ldr on usb (hd0,3) for example ?  so after executing g4d command it will boot from ( hd0,3 <-- new entry made by partnew ) then the boot will act as the same if you are using rufus usb without grub ?

 

can we copy any mbr created by booting tool and inject it in g4d ? for example if we used the original mbr of created iso of krd and partnew it in usb and make grub load it we get rid of all problems in krd booting correct ? 

 

correct me if im wrong :)

 

i think i must read all this to understand all the concepts of g4d ( http://diddy.boot-la...os/Grub4dos.htm )



#191 steve6375

steve6375

    Platinum Member

  • Developer
  • 6954 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 17 May 2013 - 05:21 PM

The partnew command takes several parameters. The first one is the partition table entry - e.g.

 

partnew (hd0,3) 0x00 /mylinux.iso

 

So this creates a new partition table entry for hd0,3  - the fourth partition entry on you boot drive. Usually this is empty. You can add code to check this using parttype:

iftitle [if exist /tails-i386-0.15.iso] Tails (boot from ISO)
set ISO=tails-i386-0.15.iso
find --set-root %ISO%
debug on
parttype (hd0,3) | set check=
set check=%check:~-5,4% 
if %check%==0x00 partnew (hd0,3) 0x00 %ISO%
if NOT %check%==0x00 echo ERROR: Partion Table entry 4 already exists! && pause --wait=3 && configfile /menu.lst 
map /%ISO% (0xff)
echo -e \r\n
map --hook
root (0xff)
chainloader (0xff)

The ISO file must be contiguous, so use Wincontig  (included in RMPrepUSB) to make it contiguous.

 

Some more info on Tails.

 

I tried this on a USB HDD (actually using Easy2Boot) instead of a USB Flash drive and it did not boot!

No problem from a flash drive even if the ISO was not in the root.

 

It seems Tails will only boot from the USB HDD as an ISO if:

1. The ISO is in the root
2. You do NOT add the cheat code live-media=removable

 

For testing I used this menu:

title Start tails-i386-0.17.2.iso LIVE (persistent)
set ISO=/tails-i386-0.17.2.iso
partnew (hd0,3) 0x0 %ISO%
ls %ISO% > nul || find --set-root --devices=hf %ISO%
map %ISO% (0xff) || map --mem %ISO% (0xff) || map --mem --heads=0 --sectors-per-track=0 %ISO% (0xff)
map --hook
root (0xff)
#note kernel line below is one long line followed by one initrd line
kernel /live/vmlinuz findiso=%ISO% boot=live config noprompt timezone=Etc/UTC block.events_dfl_poll_msecs=1000 nosplash nox11autologin module=Tails
initrd /live/initrd.img
root (bd)


#192 steve6375

steve6375

    Platinum Member

  • Developer
  • 6954 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 04 August 2013 - 03:32 PM

Mandriva ISO 

 

The 4th partition table entry of the grub4dos boot drive MUST be free...

iftitle [if exist /Linux/mandriva-linux-PWP-2011-i586.iso] Mandriva PWP 2011 /n Install Mandriva PWP 2011
set mancd=/Linux/mandriva-linux-PWP-2011-i586.iso
debug 1
parttype (hd0,3) | set check=
set check=%check:~-5,4%
if not "%check%"=="0x00" pause ERROR: PTN TABLE 4 IS ALREADY IN USE! && configfile /menu.lst
partnew (hd0,3) 0x0 %mancd% 
map %mancd% (0xff) 
map --hook
root (0xff)
kernel /i586/isolinux/alt0/vmlinuz  automatic=method:disk,disk:sda,partition:sda4,directory:/ vga=791 splash=silent
initrd /i586/isolinux/alt0/all.rdz
If the boot USB drive is not sda under Mandriva linux, you will need to change the kernel parameters.
 
[Edited]


#193 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14792 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 04 August 2013 - 04:23 PM

Is this supposed to be visible to the user ? :dubbio::

if not "%check%"=="0x00" ERROR: PTN TABLE 4 IS ALREADY IN USE! && configfile /menu.lst

 

I mean, isn't a ECHO and a PAUSE needed? :unsure:

 

:cheers:

Wonko



#194 steve6375

steve6375

    Platinum Member

  • Developer
  • 6954 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 04 August 2013 - 04:27 PM

whoops! yes, pause now added.



#195 i

i

    Silver Member

  • Advanced user
  • 526 posts
  •  
    United Nations

Posted 26 May 2014 - 01:00 PM

will grub4dos ever support lz4 decompression??

#196 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14792 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 26 May 2014 - 01:06 PM

will grub4dos ever support lz4 decompression??

http://tinyurl.com/3ytvejz

 

:duff:

Wonko 



#197 memoarfaa

memoarfaa

    Member

  • Members
  • 81 posts
  •  
    Egypt

Posted 01 July 2014 - 10:37 PM

I can't boot MikroTik from usb using grub4dos

I try to extract the ISO to the usb drive but didn't work

I try  to mapping iso using  (hd32) or (0xff) but didn't work

any one can help me



#198 memoarfaa

memoarfaa

    Member

  • Members
  • 81 posts
  •  
    Egypt

Posted 01 July 2014 - 10:39 PM

I want to install Mikrotik from usb using grub4dos

can any one help me


Edited by memoarfaa, 01 July 2014 - 10:42 PM.


#199 steve6375

steve6375

    Platinum Member

  • Developer
  • 6954 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 02 July 2014 - 05:31 AM

Can you be more precise? Do you mean RouterOS? Which version? What CPU? etc.



#200 DavidB

DavidB

    Silver Member

  • Developer
  • 611 posts

Posted 02 July 2014 - 05:52 AM

Just curious: I wonder if Grub4Dos will be designed to use multiple CPUs/cores in the near future... :D






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users