MEPIS Community Forum

A Linux operating system based on Debian Stable
View unanswered posts | View unsolved topics | View active topics |



Reply to topic  [ 87 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next
easy way to install MEPIS to usb 
Author Message
Forum Guide
Forum Guide
User avatar

Joined: Sat Jul 15, 2006 10:40 am
Posts: 2918
Location: Greece
Has thanked: 393 times
Have thanks: 821 times
Post # 258231
Post easy way to install MEPIS to usb
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

_________________
anticapitalista
Reg. linux user #395339.

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

antiX "Luddite" - lean and mean.
http://antix.mepis.org


Last edited by anticapitalista on Mon Jan 10, 2011 7:31 pm, edited 1 time in total.

more accurate



Mon Jan 10, 2011 3:57 pm Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 1:42 am
Posts: 4586
Has thanked: 487 times
Have thanks: 634 times
Post # 258232
Post Re: easy way to install MEPIS to usb
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.


Mon Jan 10, 2011 4:09 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sat Jul 15, 2006 10:40 am
Posts: 2918
Location: Greece
Has thanked: 393 times
Have thanks: 821 times
Post # 258234
Post Re: easy way to install MEPIS to usb
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 "Luddite" - lean and mean.
http://antix.mepis.org


Mon Jan 10, 2011 4:11 pm
Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 2:26 pm
Posts: 7086
Has thanked: 389 times
Have thanks: 2295 times
Post # 258235
Post Re: easy way to install MEPIS to usb
Does the isohybrid command alter the .iso file you started with?


Mon Jan 10, 2011 4:19 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sat Jul 15, 2006 10:40 am
Posts: 2918
Location: Greece
Has thanked: 393 times
Have thanks: 821 times
Post # 258248
Post Re: easy way to install MEPIS to usb
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 "Luddite" - lean and mean.
http://antix.mepis.org


Mon Jan 10, 2011 5:20 pm Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 12, 2006 1:42 am
Posts: 4586
Has thanked: 487 times
Have thanks: 634 times
Post # 258251
Post Re: easy way to install MEPIS to usb
The point is that it adds some DOS partition table, look here what I just read on distrowatch today about Debian:

Quote:
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...


Mon Jan 10, 2011 6:08 pm Profile
Forum Veteran
Forum Veteran
User avatar

Joined: Wed Jul 19, 2006 6:13 am
Posts: 10229
Location: Geneva NY
Has thanked: 2962 times
Have thanks: 1900 times
Post # 258252
Post Re: easy way to install MEPIS to usb
So send that info to him! He has not been answering emails lately from me, but I think we should keep sending...

_________________
Production: 32 bit, 3.14-0.bpo.1-686-pae. MX-14.2, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 8 GB DDR3, / and /home on Kingston SSD 120 GB, data on WesternDigital 1TB, Dell SP2309W monitor.


Mon Jan 10, 2011 6:11 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sat Jul 15, 2006 10:40 am
Posts: 2918
Location: Greece
Has thanked: 393 times
Have thanks: 821 times
Post # 258253
Post Re: easy way to install MEPIS to usb
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 "Luddite" - lean and mean.
http://antix.mepis.org


Mon Jan 10, 2011 6:12 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Sat Jul 15, 2006 10:40 am
Posts: 2918
Location: Greece
Has thanked: 393 times
Have thanks: 821 times
Post # 258254
Post Re: easy way to install MEPIS to usb
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 "Luddite" - lean and mean.
http://antix.mepis.org


Mon Jan 10, 2011 6:15 pm
Profile
Forum Guide
Forum Guide
User avatar

Joined: Wed Jul 12, 2006 4:05 pm
Posts: 2815
Location: Pinellas Park, FL
Has thanked: 105 times
Have thanks: 1768 times
Post # 258255
Post Re: easy way to install MEPIS to usb
Slight change. Your first example was correct
Code:
# dd if=/path-to-iso-file/nameofMepis.iso of=/dev/sdx
Your second was not
Code:
#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:
#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.

_________________
XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000
Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics


Mon Jan 10, 2011 6:59 pm Profile
Display posts from previous:  Sort by  
Reply to topic   [ 87 posts ]  Go to page 1, 2, 3, 4, 5 ... 9  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.