The tutorial is to convert a USB drive to an ISO, so the drive letter (e.g. I:) needs to have a \ on the end. If you use a folder rather than a drive letter then you don't need the \. I will change the cmd file and instructions so that you have to specify I:\ or a folder path - thanks!
I have added your mkisofs command to the tutorial - do you know what the difference is? You add -I and don't use -J or -r?
Question: Mount a folder as a drive (in ram)
Started by
betrand
, Feb 03 2012 04:43 PM
57 replies to this topic
#51
Posted 29 March 2012 - 06:46 PM
Steve
Visit my website at RMPrepUSB.com for partitioning, formatting, testing, imaging and making bootable your USB Drive under Windows (supports FAT16/FAT32/NTFS/ext2 file volumes, MSDOS/FreeDOS/XP/Vista/Win7/Server2008, boot as Hard disk or floppy disk). Over 70 Tutorials on how to use RMPrepUSB and grub4dos and YouTube Videos too! Includes how to have a multi-install bootable USB flash drive containing all Windows Install ISO files (XP and Vista, WIn7, SVR2K8) on one bootable USB drive (see tutorials #30 and #43). Why not try PXE booting to WinPE3 or Hirens XP over Ethernet from your Windows 7 PC or install Windows onto any networked PC via PXE - see Tutorial #45 for details). Boot Windows 8 from USB.
Visit my website at RMPrepUSB.com for partitioning, formatting, testing, imaging and making bootable your USB Drive under Windows (supports FAT16/FAT32/NTFS/ext2 file volumes, MSDOS/FreeDOS/XP/Vista/Win7/Server2008, boot as Hard disk or floppy disk). Over 70 Tutorials on how to use RMPrepUSB and grub4dos and YouTube Videos too! Includes how to have a multi-install bootable USB flash drive containing all Windows Install ISO files (XP and Vista, WIn7, SVR2K8) on one bootable USB drive (see tutorials #30 and #43). Why not try PXE booting to WinPE3 or Hirens XP over Ethernet from your Windows 7 PC or install Windows onto any networked PC via PXE - see Tutorial #45 for details). Boot Windows 8 from USB.
#52
Posted 30 March 2012 - 08:48 AM
steve6375, on 29 March 2012 - 06:46 PM, said:
The tutorial is to convert a USB drive to an ISO, so the drive letter (e.g. I:) needs to have a \ on the end. If you use a folder rather than a drive letter then you don't need the \. I will change the cmd file and instructions so that you have to specify I:\ or a folder path - thanks!
I have added your mkisofs command to the tutorial - do you know what the difference is? You add -I and don't use -J or -r?
I have added your mkisofs command to the tutorial - do you know what the difference is? You add -I and don't use -J or -r?
@ECHO OFF SETLOCAL ENABLEEXTENSIONS ECHO %~d0 ECHO %~dp0 ECHO %~dpnx0The drive has no backslash, but any path has it.
I.e. try running this same batch on the ROOT of a drive:
Quote
C:\batches>thispath.cmd
C:
C:\batches\
C:\batches\thispath.cmd
C:\batches>cd..
C:\>thispath.cmd
C:
C:\
C:\thispath.cmd
C:
C:\batches\
C:\batches\thispath.cmd
C:\batches>cd..
C:\>thispath.cmd
C:
C:\
C:\thispath.cmd
What I normally do is to add to the user input a backslash, then remove duplicate backslashes.
SET /P YourPath=[Please Enter a Path] SET YourPath=%YourPath%\ SET YourPath=%YourPath:\\=\% SET YourPath
@
Quote
mkisofs -v -iso-level 4 -N -D -d -joliet-long -volid "Grldr" -A GRLDR/MKISOFS -sysid "Win32" -b grldr -no-emul-boot -boot-load-seg 0x7C0 -boot-load-size 4 -o "grldr.iso" "folder"
http://reboot.pro/9787/page__st__10
and adding a -R or, better, a -r to add RockRidge should be desirable
Wonko
#53
Posted 30 March 2012 - 08:53 AM
Wonko the Sane, on 30 March 2012 - 08:48 AM, said:
What I normally do is to add to the user input a backslash, then remove duplicate backslashes.
SET /P YourPath=[Please Enter a Path] SET YourPath=%YourPath%\ SET YourPath=%YourPath:\\=\% SET YourPath
Steve
Visit my website at RMPrepUSB.com for partitioning, formatting, testing, imaging and making bootable your USB Drive under Windows (supports FAT16/FAT32/NTFS/ext2 file volumes, MSDOS/FreeDOS/XP/Vista/Win7/Server2008, boot as Hard disk or floppy disk). Over 70 Tutorials on how to use RMPrepUSB and grub4dos and YouTube Videos too! Includes how to have a multi-install bootable USB flash drive containing all Windows Install ISO files (XP and Vista, WIn7, SVR2K8) on one bootable USB drive (see tutorials #30 and #43). Why not try PXE booting to WinPE3 or Hirens XP over Ethernet from your Windows 7 PC or install Windows onto any networked PC via PXE - see Tutorial #45 for details). Boot Windows 8 from USB.
Visit my website at RMPrepUSB.com for partitioning, formatting, testing, imaging and making bootable your USB Drive under Windows (supports FAT16/FAT32/NTFS/ext2 file volumes, MSDOS/FreeDOS/XP/Vista/Win7/Server2008, boot as Hard disk or floppy disk). Over 70 Tutorials on how to use RMPrepUSB and grub4dos and YouTube Videos too! Includes how to have a multi-install bootable USB flash drive containing all Windows Install ISO files (XP and Vista, WIn7, SVR2K8) on one bootable USB drive (see tutorials #30 and #43). Why not try PXE booting to WinPE3 or Hirens XP over Ethernet from your Windows 7 PC or install Windows onto any networked PC via PXE - see Tutorial #45 for details). Boot Windows 8 from USB.
#54
Posted 30 March 2012 - 11:14 AM
Steve6375 said:
do you know what the difference is? You add -I and don't use -J or -r?
(Well, -l for longfilenames)
I just used in Qemu, so it worked there.
I was re-reading http://reboot.pro/9696/,
but
Wonko the Sane, on 30 March 2012 - 08:48 AM, said:
There should no need to specify the boot load segment:
http://reboot.pro/9787/page__st__10
and adding a -R or, better, a -r to add RockRidge should be desirable

Wonko
http://reboot.pro/9787/page__st__10
and adding a -R or, better, a -r to add RockRidge should be desirable
Wonko
Steve, the Beta has two 'i's somewhere. (Clue:Iimages)
+, how does create DOS boot image work?
Cheers.
#55
Posted 30 March 2012 - 02:09 PM
I'm trying to make a custom menu.lst with the batches.
I can't remember how you put an entry without a chainloader or boot at the end,
and still have it as an item, not like a title (/separator).
e.g.,
title /fat mkdir
/fat mkdir (fd1)/%FF%
Can you point me in the right direction? I want it to do the command and come back to the menu.
Cheers.
I can't remember how you put an entry without a chainloader or boot at the end,
and still have it as an item, not like a title (/separator).
e.g.,
title /fat mkdir
/fat mkdir (fd1)/%FF%
Can you point me in the right direction? I want it to do the command and come back to the menu.
Cheers.
#56
Posted 30 March 2012 - 08:38 PM
Maybe the most clear point in last post was
.
If we put
If I put
If I put
( latest Grub4dos btw)(before anyone asks:P)
Quote
I want it to do the command and come back to the menu.
If we put
title ----This is a title rootthat will be like a menu separator.
If I put
title /fat mkdir /fat mkdir (fd1)/%FF%it acts the same. I cannot select it. Trouble is, I want to select it.
If I put
title /fat mkdir /fat mkdir (fd1)/%FF% bootit does what I want but says the kernel should be booted before or something.
( latest Grub4dos btw)(before anyone asks:P)
#57
Posted 30 March 2012 - 08:46 PM
You can select any menu item using cursor left or right.
try using
configfile /menu.lst
try using
configfile /menu.lst
Steve
Visit my website at RMPrepUSB.com for partitioning, formatting, testing, imaging and making bootable your USB Drive under Windows (supports FAT16/FAT32/NTFS/ext2 file volumes, MSDOS/FreeDOS/XP/Vista/Win7/Server2008, boot as Hard disk or floppy disk). Over 70 Tutorials on how to use RMPrepUSB and grub4dos and YouTube Videos too! Includes how to have a multi-install bootable USB flash drive containing all Windows Install ISO files (XP and Vista, WIn7, SVR2K8) on one bootable USB drive (see tutorials #30 and #43). Why not try PXE booting to WinPE3 or Hirens XP over Ethernet from your Windows 7 PC or install Windows onto any networked PC via PXE - see Tutorial #45 for details). Boot Windows 8 from USB.
Visit my website at RMPrepUSB.com for partitioning, formatting, testing, imaging and making bootable your USB Drive under Windows (supports FAT16/FAT32/NTFS/ext2 file volumes, MSDOS/FreeDOS/XP/Vista/Win7/Server2008, boot as Hard disk or floppy disk). Over 70 Tutorials on how to use RMPrepUSB and grub4dos and YouTube Videos too! Includes how to have a multi-install bootable USB flash drive containing all Windows Install ISO files (XP and Vista, WIn7, SVR2K8) on one bootable USB drive (see tutorials #30 and #43). Why not try PXE booting to WinPE3 or Hirens XP over Ethernet from your Windows 7 PC or install Windows onto any networked PC via PXE - see Tutorial #45 for details). Boot Windows 8 from USB.
#58
Posted 30 March 2012 - 08:52 PM
oh! Ok.
Thanks.
Yeah, tested, super, cool.
Thanks.
Yeah, tested, super, cool.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users








