Putting ISO on USB Stick
BETA Testing and Feature Suggestions for the next RouterOS release (ROS v7)

23 posts   •   Page 1 of 1
User avatar
gmsmstr
Forum Veteran
Forum Veteran
 
Posts: 925
Joined: Fri Jun 04, 2004 2:22 am
Location: St. Louis, MO

Putting ISO on USB Stick

by gmsmstr » Tue Jan 22, 2008 2:14 am

Just wondering, has anyone tried to put the ISO on a USB Stick? I.e. you plug in the USB stick and it boot and installs to the existing flash drive or HD?
Dennis Burgess, CCNA, A+, N+, MCP, Mikrotik Certified Consultant / Trainer
Need Mikrotik Support: http://www.linktechs.net -- Link Technologies, Inc.
--- Author of "Learn RouterOS: Second Edition" -- routerosbook.com ---

User avatar
normis
MikroTik Support
MikroTik Support
 
Posts: 19288
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Putting ISO on USB Stick

by normis » Tue Jan 22, 2008 9:58 am

you don't "put" iso on a CD anyway. You burn the contents of the ISO to the CD, so putting the file on a USB won't work. You can use Netinstall to copy the installation files to the USB and then boot from it to run the install, but it will install only on the same USB drive.
No answer to your question? How to write posts

stephenpatrick
Forum Veteran
Forum Veteran
 
Posts: 700
Joined: Fri Aug 20, 2004 12:26 pm
Location: UK

Re: Putting ISO on USB Stick

by stephenpatrick » Tue Jan 22, 2008 11:40 am

... yes, but:

It would be extremely neat and handy to be able to insert a USB stick "with the equivalent of the .ISO"
Boot from USB, run the installer which then puts ROS on the default (main) partition (compact flash or DOM)
I know this is really only an issue for x86-users where netinstall might not be an option ... YVMV

Regards
CableFree - Wireless Excellence - Free Space Optics, Microwave, E-band Radios, High performance MT-based Radios & Routers
http://www.cablefree.co.uk

User avatar
normis
MikroTik Support
MikroTik Support
 
Posts: 19288
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Putting ISO on USB Stick

by normis » Tue Jan 22, 2008 11:42 am

stephenpatrick wrote:... yes, but:

It would be extremely neat and handy to be able to insert a USB stick "with the equivalent of the .ISO"
Boot from USB, run the installer which then puts ROS on the default (main) partition (compact flash or DOM)
I know this is really only an issue for x86-users where netinstall might not be an option ... YVMV

Regards


I understand and we'll see how hard it is to make, but as I said - you can simply place the soon-to-be-router HDD in a windows machine, Netnstall it, move it back to it's own PC and boot to install. I understand that it's not so quick as the suggested way, but at least it's a working way
No answer to your question? How to write posts

stephenpatrick
Forum Veteran
Forum Veteran
 
Posts: 700
Joined: Fri Aug 20, 2004 12:26 pm
Location: UK

Re: Putting ISO on USB Stick

by stephenpatrick » Tue Jan 22, 2008 12:03 pm

Brilliant thanks ... but IMHO don't put it too high on the "wish list" because there are lots of other things to add first ..

Regards
CableFree - Wireless Excellence - Free Space Optics, Microwave, E-band Radios, High performance MT-based Radios & Routers
http://www.cablefree.co.uk

User avatar
gmsmstr
Forum Veteran
Forum Veteran
 
Posts: 925
Joined: Fri Jun 04, 2004 2:22 am
Location: St. Louis, MO

Re: Putting ISO on USB Stick

by gmsmstr » Tue Jan 22, 2008 5:52 pm

Ya I would agree don't put it high on the list. MLPPP is a much more needed function.

I use USB sticks to install windows, and it works quite well.

And yes, I know you "burn" the ISO, but the question is why can't you put a ISO on a Flash drive. I can burn a CD ISO on a DVD, so whats the difference? Why would it not see other controllers during an installation?
Dennis Burgess, CCNA, A+, N+, MCP, Mikrotik Certified Consultant / Trainer
Need Mikrotik Support: http://www.linktechs.net -- Link Technologies, Inc.
--- Author of "Learn RouterOS: Second Edition" -- routerosbook.com ---

User avatar
normis
MikroTik Support
MikroTik Support
 
Posts: 19288
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Putting ISO on USB Stick

by normis » Wed Jan 23, 2008 10:13 am

gmsmstr wrote:Ya I would agree don't put it high on the list. MLPPP is a much more needed function.

I use USB sticks to install windows, and it works quite well.

And yes, I know you "burn" the ISO, but the question is why can't you put a ISO on a Flash drive. I can burn a CD ISO on a DVD, so whats the difference? Why would it not see other controllers during an installation?


because 'burning an iso' is quite different than copying an iso (to a flash drive). iso is just a container. you would have to get a different kind of image (not an ISO) and then "dd" it to the drive. we don't provide such images at the moment. we did do it some time ago
No answer to your question? How to write posts

User avatar
gmsmstr
Forum Veteran
Forum Veteran
 
Posts: 925
Joined: Fri Jun 04, 2004 2:22 am
Location: St. Louis, MO

Re: Putting ISO on USB Stick

by gmsmstr » Thu Jan 24, 2008 2:57 am

Ya, you have to convert the ISO to a VHD file, then extract the BOOT sectors, then place that onto the flash drive THEN, copy the files over. Got it to work, once. lol l :)


Oh well. Was an interesting little thought hahah.
Dennis Burgess, CCNA, A+, N+, MCP, Mikrotik Certified Consultant / Trainer
Need Mikrotik Support: http://www.linktechs.net -- Link Technologies, Inc.
--- Author of "Learn RouterOS: Second Edition" -- routerosbook.com ---

pedja
Long time Member
Long time Member
 
Posts: 684
Joined: Sat Feb 26, 2005 6:37 am

Re: Putting ISO on USB Stick

by pedja » Mon Jan 28, 2008 1:48 pm

Is it possible to boot from CD as usual, but then USB disk to be available in the same way as ATA disk is, so we may simply install there?

User avatar
normis
MikroTik Support
MikroTik Support
 
Posts: 19288
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Putting ISO on USB Stick

by normis » Mon Jan 28, 2008 3:06 pm

yes ... it is possible, but unplug the IDE drive before installation, or use Netinstall instead
No answer to your question? How to write posts

pedja
Long time Member
Long time Member
 
Posts: 684
Joined: Sat Feb 26, 2005 6:37 am

Re: Putting ISO on USB Stick

by pedja » Wed Jan 30, 2008 3:25 pm

Great. That is all I would need, and I would try first time I obtain new licence.

I could not figure out how netinstall works.

User avatar
normis
MikroTik Support
MikroTik Support
 
Posts: 19288
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Putting ISO on USB Stick

by normis » Wed Jan 30, 2008 3:50 pm

Netinstall? insert USB device PC, run Netinstall, choose the USB drive as Destination, install. Remove USB device and plug into router ..
No answer to your question? How to write posts

pedja
Long time Member
Long time Member
 
Posts: 684
Joined: Sat Feb 26, 2005 6:37 am

Re: Putting ISO on USB Stick

by pedja » Sat Feb 02, 2008 10:54 am

Hmm, when I read manual it looks more complex than just that. :)

User avatar
normis
MikroTik Support
MikroTik Support
 
Posts: 19288
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Putting ISO on USB Stick

by normis » Mon Feb 04, 2008 9:57 am

Netinstall has many ways of installation.

1. Booting from network if your PC supports it.
2. Making a boot diskette that will boot from network if your PC doesn't have native netboot ability
3. Installing on a local CF/USB/IDE drive that can be removed and just plugged into a PC to use
No answer to your question? How to write posts

User avatar
AnRkey
Member Candidate
Member Candidate
 
Posts: 106
Joined: Tue Sep 15, 2009 6:01 pm

Re: Putting ISO on USB Stick

by AnRkey » Fri May 25, 2012 12:05 pm

Normus, when making the ISO, is it done on Linux? If so, it should be easy to output a .img file, then we could use dd to transfer it to flash. There are gui tools for this too.

Ask the powers that be what they think.

R
MTCNA

User avatar
nickshore
Member
Member
 
Posts: 337
Joined: Thu Mar 03, 2005 5:14 pm
Location: Suffolk, UK.

Re: Putting ISO on USB Stick

by nickshore » Mon May 28, 2012 6:45 pm

For information you can use the zalman ve200 virtual optical disk enclosures to be able to boot from ISO files.

http://linitx.com/product/13354

We use them all the time for OS installs.

Hope that helps

Nick.
Nick Shore MTCNA MTCWE MTCRE MTCINE MTCTCE
LinITX.com - MultiThread Consultants
Get your MikroTik RBs and Training: http://linitx.com/brand/mikrotik
Official UK MikroTik Distributor
IRC chan: #routerboard on irc.z.je (IPv4 and IPv6)

steve6375
just joined
 
Posts: 3
Joined: Tue Nov 26, 2013 2:52 pm

Re: Putting ISO on USB Stick

by steve6375 » Tue Nov 26, 2013 3:01 pm

The 6.6 ISO boots almost fine if you just make an Easy2Boot USB stick and copy the ISO to the \_ISO\MAINMENU folder.
99% of all linux ISOs work with Easy2Boot this way.

However, I get this message:

Looking for harddrives...

Found harddrive as IDE Primary master (disk c)

FATAL ERROR: no CD-ROM found
Press ENTER to reboot


It seems that it is looking for a CD-ROM device only?
I get the same message if I extract the ISO contents to the FAT32 USB flash drive.

steve6375
just joined
 
Posts: 3
Joined: Tue Nov 26, 2013 2:52 pm

Re: Putting ISO on USB Stick

by steve6375 » Tue Nov 26, 2013 3:22 pm

nickshore wrote:For information you can use the zalman ve200 virtual optical disk enclosures to be able to boot from ISO files.

http://linitx.com/product/13354

We use them all the time for OS installs.

Hope that helps

Nick.

6.6 ISO does boot from my Zalman VE-200 OK :-)

PeterSullivan
newbie
 
Posts: 30
Joined: Wed Jul 31, 2013 3:03 pm

Re: Putting ISO on USB Stick

by PeterSullivan » Thu Dec 05, 2013 1:36 pm

Its really very cool feature. I am using it for moving ISO files to a USB flash disk.

doneware
newbie
 
Posts: 46
Joined: Mon Oct 08, 2012 8:39 pm

Re: Putting ISO on USB Stick

by doneware » Mon Dec 16, 2013 1:31 pm

steve6375 wrote:FATAL ERROR: no CD-ROM found
Press ENTER to reboot[/b]

It seems that it is looking for a CD-ROM device only?
I get the same message if I extract the ISO contents to the FAT32 USB flash drive.


you have to emulate the CD to get past this detection.

the zalman virtual image box emulates an usb mass storage device (usb CDROM) which
the the kernel enumerates during the boot process. this is something that most USB
gear does: like the 3G-sticks which have the "driver" diskette embedded, or some promotion
USB drives which are detected as a HDD *and* a CDrom.

generally booting iso from usb is easy, i did this several times with other "OS" (if you consider windows xp as an OS).
if you have grub or grub4dos you can create a memdisk, which holds the entire contents
of the iso file, promote it to be a drive, and boot off from it. but then it's just an int13h
device (hard disk).

you can however tweak linux kernel to look for iso-s and mount them while booting:

http://www.syslinux.org/wiki/index.php/ ... the_kernel

it however requires this feature to be compiled in the kernel. but you can give it a try and
modify the kernel boot parameters in the 6.6 ISO file :-)

User avatar
janisk
MikroTik Support
MikroTik Support
 
Posts: 5915
Joined: Tue Feb 14, 2006 10:46 am
Location: Riga, Latvia

Re: Putting ISO on USB Stick

by janisk » Mon Dec 16, 2013 3:29 pm

here you can get zipped IMG file of RouterOS

on linux:
Code: Select all
$ sudo dd if=/home/test/Downloads/install-image-6.7.img of=/dev/sdd1 oflag=direct bs=1048576 && sync


where of= target partition of USB stick partition or hard drive partition. Then boot up, do the installation like cd-install. Reboot and you are done.

edit:
the forgotten link:
http://www.mikrotik.com/download/share/ ... ge_6_7.zip

steve6375
just joined
 
Posts: 3
Joined: Tue Nov 26, 2013 2:52 pm

Re: Putting ISO on USB Stick

by steve6375 » Mon Dec 16, 2013 9:13 pm

Where is the .img file?

User avatar
janisk
MikroTik Support
MikroTik Support
 
Posts: 5915
Joined: Tue Feb 14, 2006 10:46 am
Location: Riga, Latvia

Re: Putting ISO on USB Stick

by janisk » Tue Dec 17, 2013 11:41 am


23 posts   •   Page 1 of 1

Who is online

Users browsing this forum: No registered users and 14 guests

It is currently Thu Nov 27, 2014 12:15 am