Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!

Install to usb stick as 'livecd'

Post your tips and tricks here.

Install to usb stick as 'livecd'

Postby anticapitalista on Sat May 31, 2008 7:11 pm

For those that don't have a cd/dvd player and/or wish to install antiX to a usb stick as a livecd:

Download instructions and file here:

http://www.mepisimo.com/antix/

The instructions are antiX-to-usb-stick.txt
The files are usb-M7.2-live.tgz or usb-M7.2-base-live.tgz

This is experimental. Testers welcome.

(Maybe at some point this could be made into a script)
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Postby runtt21 on Mon Jun 23, 2008 11:07 pm

What size of usb flash drive would you recommend?
runtt21
 
Posts: 1
Joined: Sun Jun 22, 2008 9:54 pm

Postby anticapitalista on Mon Jun 23, 2008 11:33 pm

I have antiX-M7.2-base on a 512 MB stick. I pre-formatted it so antiX is on a 388MB partition (it uses just under 200MB) and the rest is a fat partition for saving data.

For antiX-M7.2 full, I suppose 1GB in total would be better, but 512MB should be ok. antiX should fit on a partition of about 400MB.
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Re: Install to usb stick as 'livecd'

Postby lagopus on Tue Jan 13, 2009 12:23 am

iso2usb.sh script: testers welcome

The script is a customization of fll-iso2usb.sh from the sidux projects.
What does the script do? ...from the original sidux script:
Code: Select all
#
# given an usb pen, eg /dev/sdb, /dev/sdc we create ** one **  partition on that
# device make it bootable, format it with ext3
# install grub into it
# copy the message file into the grub dirs
# create directory for iso, kernel, initrd (eg sidux)
# copy the files into there.
# create the menu.lst file on it
#

The iso file is copied to the root of the mounted device and menu.lst is configured to boot with the fromiso cheatcode
One minor issue: the fromhd=UUID=xxxxxx option is not recognized, so all available partitions are scanned before the iso is found.

On a 1GB partition you can store 2 isos, for instance M-7.5 and M8, and boot either of the two distros after manually editing menu.lst

I do not burn any more antiX CDs. I use the script on my laptop running Mepis M8. It should work on any Debian system (not tested) and maybe Ubuntu systems (?).

I tested the live-usb stick on my antiX target system Asus eeepc701. Runs in live-usb mode. Wifi works. And minstall (antiX installer) works.

Next step:
test and debug the script in the running live-CD system

TODO:
1) Build a second partition on the stick formated ext2 or ext3 or vfat to carry some data (and not waste space)
2) a GUI ?

If anybody is interested, we will find a way to share the file.

Regards
Yves
Yves
_____________________________________________________________
S'il n'y a pas de solutions, il n'y a pas de problèmes.
User avatar
lagopus
 
Posts: 97
Joined: Wed Oct 15, 2008 9:42 pm
Location: Toulouse, France

Re: Install to usb stick as 'livecd'

Postby eriefisher on Tue Jan 13, 2009 3:28 am

I'd be interested in trying it out. If your looking for a place to post so others can d/l.

www.savefile.com

username: antixusers
password: allusers

Just post the link it gives you when you finish uploading and then anyone can d/l.
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Re: Install to usb stick as 'livecd'

Postby lagopus on Tue Jan 13, 2009 10:14 pm

Thanks eriefisher for the link

Posted a tgz file:
http://www.savefile.com/files/1964386

Waiting for your feedback

Yves
Yves
_____________________________________________________________
S'il n'y a pas de solutions, il n'y a pas de problèmes.
User avatar
lagopus
 
Posts: 97
Joined: Wed Oct 15, 2008 9:42 pm
Location: Toulouse, France

Re: Install to usb stick as 'livecd'

Postby anticapitalista on Tue Jan 13, 2009 11:27 pm

Great job lagopus!

Tried it from a hard disk to usb device and it worked perfectly and quickly.

The fromhd with uuids does as you say, it scans the devices until it finds the correct one.
What does work is to use fromhd=/dev/sdc1 (usb device on my box). Don't know how easy/possible to do that it.

I would also like to see a longer menu.lst. The default you have is great, but maybe to have alternative options ie drvr=vesa toram lean Xtralean (cheatcodes).

I also like your todo number 3 ie extra partition for data and if you can make it with a gui, well that would be absolutely fantastic.

This is a great addition to antiX.
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Re: Install to usb stick as 'livecd'

Postby masinick on Wed Jan 14, 2009 12:10 am

anticapitalista wrote:Great job lagopus!

Tried it from a hard disk to usb device and it worked perfectly and quickly.

The fromhd with uuids does as you say, it scans the devices until it finds the correct one.
What does work is to use fromhd=/dev/sdc1 (usb device on my box). Don't know how easy/possible to do that it.

I would also like to see a longer menu.lst. The default you have is great, but maybe to have alternative options ie drvr=vesa toram lean Xtralean (cheatcodes).

I also like your todo number 3 ie extra partition for data and if you can make it with a gui, well that would be absolutely fantastic.

This is a great addition to antiX.


I echo Anticapitalista's comments. This is truly a great addition to AntiX and I hope all the fine nuances can be worked out so that this can truly look like an integral component to AntiX. I think that would be yet another piece that would further strengthen an already strong set of product features. I think even SimplyMEPIS could benefit from a smoother USB installation experience. The one that sidux has is a dream, so this is a great addition. I look forward to trying it out soon.
Brian Masinick
Favorite distros: sidux, antiX, SimplyMEPIS, Debian Sid
User avatar
masinick
 
Posts: 427
Joined: Sat Apr 26, 2008 6:02 am
Location: Concord, NH

Re: Install to usb stick as 'livecd'

Postby eriefisher on Wed Jan 14, 2009 3:03 am

Code: Select all
Error: device not found: /media/sdb1


This is what I get when I run the script. It doesn't seem to matter whether the stick is mounted or not. If I use /dev/... instead of /media/... I get

Code: Select all
Cannot access file /sys/block/sdb1
Error: device not found: /dev/sdb1


What am I doing wrong?
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Re: Install to usb stick as 'livecd'

Postby lagopus on Wed Jan 14, 2009 1:27 pm

Thanks to all of you

You are very responsive, I am really impressed.
The congratulations go to the initial authors of the script.
I basically did some modifications to remove/adapt sidux specific stuff.

I am at work and do not have time to respond to all of us.

eriefisher: the **device** should be named /dev/sdx and not /dev/sdx1 (existing partition); I did once the mistake, maybe we should issue a better error message. the device is expected to exist in /sys/block

anti: feel free to post on mepis forum, if you think the script is robust enough.

Thanks again

Yves
Yves
_____________________________________________________________
S'il n'y a pas de solutions, il n'y a pas de problèmes.
User avatar
lagopus
 
Posts: 97
Joined: Wed Oct 15, 2008 9:42 pm
Location: Toulouse, France

Re: Install to usb stick as 'livecd'

Postby oldhoghead on Wed Jan 14, 2009 6:01 pm

Just tried out the script, worked great, I have been doing this manually, so this is a welcome addition, thanks for the contribution lagopus!!!


cheers,
oldhoghead
Never belive anything until it has been officially denied.
Claude Cockburn (1904-1981)
oldhoghead
 
Posts: 173
Joined: Mon Oct 01, 2007 3:50 pm
Location: DFW

Re: Install to usb stick as 'livecd'

Postby eriefisher on Thu Jan 15, 2009 2:52 am

Ok I got it to work. It took a couple of tries and some formating with gparted but I'm now running it on my wife's aspire one which has, ahem, Xp, cough. Quite zippy.

Here is a preview of what i'm working on.
antiXfce.jpg
antiXfce.jpg (30.69 KiB) Viewed 1628 times
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Re: Install to usb stick as 'livecd'

Postby anticapitalista on Thu Jan 15, 2009 2:59 am

Firstly, glad you got the script to work.

Secondly, your antiX-xfce project is looking really good.
Let us know how it is coming on.
Can't wait to give it a test.
Philosophers have interpreted the world in many ways; the point is to change it.
User avatar
anticapitalista
Site Admin
 
Posts: 2144
Joined: Tue Sep 11, 2007 4:55 pm
Location: Greece

Re: Install to usb stick as 'livecd'

Postby eriefisher on Thu Jan 15, 2009 3:21 am

The base is there and works, just need to set themes and defaults etc.
eriefisher

Image

SOME PEOPLE ARE LIKE SLINKIES - NOT REALLY GOOD FOR ANYTHING BUT THEY BRING A SMILE TO YOUR FACE WHEN PUSHED DOWN THE STAIRS.
User avatar
eriefisher
 
Posts: 1431
Joined: Sun Oct 07, 2007 5:16 pm
Location: Canada's South Coast

Re: Install to usb stick as 'livecd'

Postby masinick on Thu Jan 15, 2009 6:41 pm

eriefisher wrote:The base is there and works, just need to set themes and defaults etc.


That is looking pretty good! Gonna include some shots of Lake Erie in your themes, by any chance? :-)

Depending on where and when you take or acquire such photos, they could be really nice and make a very nice "Erie" theme - if you do that, I'd LOVE to see it!

For that matter, some pics from your Lake Huron excursion a few months ago would be nice too - in the middle of that snowstorm, no less! ;-)
Brian Masinick
Favorite distros: sidux, antiX, SimplyMEPIS, Debian Sid
User avatar
masinick
 
Posts: 427
Joined: Sat Apr 26, 2008 6:02 am
Location: Concord, NH

Next

Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 0 guests

cron