easy way to install MEPIS to usb

Here is where users who have been using MEPIS awhile and know the basics of linux and MEPIS can ask questions.
Message
Author
User avatar
anticapitalista
Forum Veteran
Forum Veteran
Posts: 4273
Age: 51
Joined: Sat Jul 15, 2006 10:40 am

easy way to install MEPIS to usb

#1 Postby anticapitalista » Mon Jan 10, 2011 3:57 pm

A lot of people have been using unetbootin so as to run MEPIS live on a usb stick.

Well here is another way, using isohybrid inside syslinux/isolinux.

I did this on antiX which had syslinux installed and has the isohybrid feature. I don't know if syslinux in squeeze or lenny works for this or not.

1. Install syslinux
2. Download latest MEPIS iso (it should also work with MEPIS 8.5)
3. cd to where the MEPIS iso file is
4. As root user in a terminal

# isohybrid filename.iso

5. Copy that new iso to a usb stick. Make sure you know what your usb stick shows up as.
Mine shows up as sdc.

# dd if=/path-to-iso-file/nameofMepis.iso of=/dev/sdx

if=input file of=output file

in my case

#dd if=/home/antiX/MepisA5.iso of=/dev/sdc

Good luck!

Information from here:
http://syslinux.zytor.com/wiki/index.php/Doc/isolinux

NB This doesn't work with antiX as antiX doesn't use isolinux
Last edited by anticapitalista on Mon Jan 10, 2011 7:31 pm, edited 1 time in total.
Reason: more accurate
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX-15 "Killah P!" - lean and mean.
http://antix.mepis.org

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 6129
Age: 41
Joined: Wed Jul 12, 2006 1:42 am

Re: easy way to install MEPIS to usb

#2 Postby Adrian » Mon Jan 10, 2011 4:09 pm

Just a warning, dd obviously will delete everything you have on that flash drive.

BTW, I just read that Debian Squeeze enabled this feature on all their installation ISOs.

User avatar
anticapitalista
Forum Veteran
Forum Veteran
Posts: 4273
Age: 51
Joined: Sat Jul 15, 2006 10:40 am

Re: easy way to install MEPIS to usb

#3 Postby anticapitalista » Mon Jan 10, 2011 4:11 pm

Yes, good warning.

If anyone tries this, do make sure you install to the correct device directory for your usb device. (Actually it should also work installing to a cd/dvd)
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX-15 "Killah P!" - lean and mean.
http://antix.mepis.org

User avatar
kmathern
Forum Veteran
Forum Veteran
Posts: 8944
Age: 57
Joined: Wed Jul 12, 2006 2:26 pm

Re: easy way to install MEPIS to usb

#4 Postby kmathern » Mon Jan 10, 2011 4:19 pm

Does the isohybrid command alter the .iso file you started with?

User avatar
anticapitalista
Forum Veteran
Forum Veteran
Posts: 4273
Age: 51
Joined: Sat Jul 15, 2006 10:40 am

Re: easy way to install MEPIS to usb

#5 Postby anticapitalista » Mon Jan 10, 2011 5:20 pm

Slightly, apparently, by a few MBs. You should still be able to boot as before.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX-15 "Killah P!" - lean and mean.
http://antix.mepis.org

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 6129
Age: 41
Joined: Wed Jul 12, 2006 1:42 am

Re: easy way to install MEPIS to usb

#6 Postby Adrian » Mon Jan 10, 2011 6:08 pm

The point is that it adds some DOS partition table, look here what I just read on distrowatch today about Debian:

Furthermore, the ISO images are now transferable to USB disk drives with a simple "dd" command. Steve McIntyre writes: "We've had a wish-list bug (#551951) open against debian-cd for some time, asking for the creation of 'isohybrid' CD images for i386 and amd64. These are special in that, as well as the normal CD-based ISO9660 file system, they also contain a valid-looking DOS-style partition table. Thus, if you simply copy one of these images raw to a USB stick a normal PC BIOS will boot the image directly. This would be a neat feature, making it much easier for people to use standard Debian installer images on their USB sticks without having to follow a lot more instructions. ... We've worked together in the last few months on porting my old JTE code (which creates our jigdo images) from cdrkit to xorriso and, after a lot of testing and debugging, we now have things working fully. I've added a small amount of code in debian-cd to use the new xorriso features, and for the last couple of weeks all of the i386, amd64 and i386-amd64 multi-arch CDs and DVDs have been built as hybrids."

Maybe Warren could use the same trick...

User avatar
Jerry3904
Forum Veteran
Forum Veteran
Posts: 15032
Joined: Wed Jul 19, 2006 6:13 am

Re: easy way to install MEPIS to usb

#7 Postby Jerry3904 » Mon Jan 10, 2011 6:11 pm

So send that info to him! He has not been answering emails lately from me, but I think we should keep sending...
Production: 4.2.0-0.bpo.1-amd64, MX-15 RC1, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB, Kingston SSD 120 GB and WesternDigital 1TB
Testing: AAO 722: 3.16-0-4-686-pae. MX-15, AMD C-60 APU, 4 GB

User avatar
anticapitalista
Forum Veteran
Forum Veteran
Posts: 4273
Age: 51
Joined: Sat Jul 15, 2006 10:40 am

Re: easy way to install MEPIS to usb

#8 Postby anticapitalista » Mon Jan 10, 2011 6:12 pm

antiX will use the same trick for its next release.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX-15 "Killah P!" - lean and mean.
http://antix.mepis.org

User avatar
anticapitalista
Forum Veteran
Forum Veteran
Posts: 4273
Age: 51
Joined: Sat Jul 15, 2006 10:40 am

Re: easy way to install MEPIS to usb

#9 Postby anticapitalista » Mon Jan 10, 2011 6:15 pm

Just to add that this method does not create a persistent option. It is simply a way to use a usb stick as live as is - no changes will be saved.
anticapitalista
Reg. linux user #395339.

Philosophers have interpreted the world in many ways; the point is to change it.

antiX-15 "Killah P!" - lean and mean.
http://antix.mepis.org

User avatar
timkb4cq
Forum Veteran
Forum Veteran
Posts: 3364
Joined: Wed Jul 12, 2006 4:05 pm

Re: easy way to install MEPIS to usb

#10 Postby timkb4cq » Mon Jan 10, 2011 6:59 pm

Slight change. Your first example was correct

Code: Select all

# dd if=/path-to-iso-file/nameofMepis.iso of=/dev/sdx
Your second was not

Code: Select all

#dd if=/home/antiX/MepisA5.iso of=/dev/sdc1
You need to install to the flash drive - not the first partition. So in my case it's

Code: Select all

#dd if=/home/antiX/MepisA5.iso of=/dev/sdf
Uses sdf1 produces an error message on boot about a missing or corrupt isolinux.bin.

BTW, this is the only method that produces a bootable image on my 1GB Memorex mini TD flash drive. I've tried a number of methods with that one without success.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB


Return to “Regulars”

Who is online

Users browsing this forum: No registered users and 1 guest