Linux Mint on a USB Stick

Write tutorials here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
User avatar
Boo
Level 7
Level 7
Posts: 1634
Joined: Mon Mar 26, 2007 7:48 am

Post by Boo »

well here i am running off my 1GB USB mint.
just initial testing of the install procedure.
so i generally followed the instructions from the above link.
1. used gparted to partition and format the USB stick (do not use fdisk!)
partition 1 750MB fat32 and boot flag, partition 2 ext2.
2. copied the files and folders that existed to the USB drive.
3. renamed isolinux.cft to syslinux.cfg and modified the parts that existed as per the instructions.
eg: looks like.
DEFAULT /casper/vmlinuz
GFXBOOT bootlogo
GFXBOOT-BACKGROUND 0x9bcf61
APPEND preseed/file=preseed/ubuntu.seed boot=casper initrd=initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --
LABEL live
menu label ^Start Linux Mint
kernel vmlinuz
append freseed/file=preseed/ubuntu.seed boot=casper initrd=initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --
LABEL xforcevesa
menu label Start Linux Mint in safe ^graphics mode
kernel vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper xforcevesa initrd=/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --
LABEL hd
menu label ^Boot from first hard disk
localboot 0x80
append -
DISPLAY isolinux.txt
TIMEOUT 300
PROMPT 1
F1 f1.txt
F2 f2.txt
F3 f3.txt
F4 f4.txt
F5 f5.txt
F6 f6.txt
F7 f7.txt
F8 f8.txt
F9 f9.txt
F0 f10.txt

4. had to install syslinux and mtools
sudo apt-get install syslinux mtools
5. run syslinux on USB drive partition 1.
syslinux /dev/sda1
6. Reboot, set bios to boot off USB-HDD. For my machine I have to put USB dirve into a rear USB port and not a front one (it comes off a USB riser) to make it boot off it.
7. This is sweet.
8. work out the cfdisk commands so i can script this.
9. time for bed.

:D
Image
Now where was i going? Oh yes, crazy!

mvisconte
Level 1
Level 1
Posts: 5
Joined: Sun Mar 11, 2007 12:43 am
Location: Martini-ville, Mars
Contact:

Exciting developments...

Post by mvisconte »

Exciting developments...
and I am hoping I get a chance to try it soon. Not too soon, as I am heading for a bad bout of bronchitis, if I don't get some rest... soon.

Bianca, here I come... (probably get Bianca running just in time for the next iteration).

-m.

User avatar
jonpackard
Level 1
Level 1
Posts: 44
Joined: Mon Nov 27, 2006 5:44 pm
Location: Bradenton, FL, USA

Post by jonpackard »

Booting Linux Mint from a USB stick seems kind of hit or miss for me. On my own PC, it fails to boot 90% of the time. I can use it on my PC at work without any problems. I just downloaded SimplyMEPIS 6.5 and tried the USB live install option in the LiveCD and it worked great on my PC. I zipped my Mint USB files (minus the sqaushfs, initrd and vmlinuz) so that I could easily reproduce it. If anyone would like it let me know.. I don't have a place to post it, but I can e-mail it to you.
Jon Packard -- Linux Mint user since 11/14/2006

rossperk
Level 1
Level 1
Posts: 1
Joined: Mon Mar 05, 2007 6:18 pm
Contact:

Another walkthrough

Post by rossperk »

I found these walkthroughs for getting various Linux distros to boot from USB:

http://www.pendrivelinux.com/

I followed the Ubuntu Edgy "from Windows" walkthrough, but used a Fiesty iso. It looked like an easier walkthrough than the one on the Ubuntu forums, and it did get it to boot. I think Fiesty's persistence mode is broken, though, but it still boots (just doesn't keep any changes).

Bianca should work well, though, so I plan to try it next (I just wanted to try Fiesty first since it just came out). Looking forward to Cassandra (and hoping that Fiesty doesn't break its persistence mode).

NiksaVel
Level 5
Level 5
Posts: 771
Joined: Wed Feb 28, 2007 4:06 am
Location: Croatia
Contact:

Post by NiksaVel »

maybe we could get a 1gb USB iso for mint? :D
Windows is extremely fast after a fresh install. If you want to make it stay that way: - don't use it.
-Clem

stevenrushing
Level 1
Level 1
Posts: 4
Joined: Mon May 07, 2007 2:02 am

Post by stevenrushing »

I followed the instructions above (the first ones). There were a couple of issues... there wern't instructions as to what to name the partitions. I named the first "mint" and the second "casper-rw" (without quotes). Not sure if that is giving me my issues.

The issue is that I can't get it to be persistent. Oh yeah, I am using bianca.

here is my syslinux.cfg:

DEFAULT /casper/vmlinuz
GFXBOOT bootlogo
GFXBOOT-BACKGROUND 0x9bcf61
APPEND file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --
LABEL live
menu label ^Start Linux Mint
kernel /casper/vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper persistent initrd=/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --
LABEL xforcevesa
menu label Start Linux Mint in safe ^graphics mode
kernel /casper/vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper xforcevesa initrd=/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --
LABEL hd
menu label ^Boot from first hard disk
localboot 0x80
append -
DISPLAY isolinux.txt
TIMEOUT 300
PROMPT 1
F1 f1.txt
F2 f2.txt
F3 f3.txt
F4 f4.txt
F5 f5.txt
F6 f6.txt
F7 f7.txt
F8 f8.txt
F9 f9.txt
F0 f10.txt


also, it shows the ubuntu splash screen, but I read that that is normal...

Any ideas?

stevenrushing
Level 1
Level 1
Posts: 4
Joined: Mon May 07, 2007 2:02 am

Post by stevenrushing »

I got it working! This is what i used...

DEFAULT /casper/vmlinuz
GFXBOOT bootlogo
GFXBOOT-BACKGROUND 0x9bcf61
APPEND preseed/file=preseed/ubuntu.seed boot=casper persistent initrd=/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --
LABEL live
menu label ^Start Linux Mint
kernel vmlinuz
append freseed/file=preseed/ubuntu.seed boot=casper persistent initrd=/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --
LABEL xforcevesa
menu label Start Linux Mint in safe ^graphics mode
kernel vmlinuz
append file=/cdrom/preseed/ubuntu.seed boot=casper xforcevesa initrd=/casper/initrd.gz ramdisk_size=1048576 root=/dev/ram rw quiet splash --
LABEL hd
menu label ^Boot from first hard disk
localboot 0x80
append -
DISPLAY isolinux.txt
TIMEOUT 300
PROMPT 1
F1 f1.txt
F2 f2.txt
F3 f3.txt
F4 f4.txt
F5 f5.txt
F6 f6.txt
F7 f7.txt
F8 f8.txt
F9 f9.txt
F0 f10.txt

mvisconte
Level 1
Level 1
Posts: 5
Joined: Sun Mar 11, 2007 12:43 am
Location: Martini-ville, Mars
Contact:

Re: Linux Mint on a USB Stick

Post by mvisconte »

It's been so long (it seems) since this thread was started... I had given up on "Mint on a Stick", and didn't revisit it until about last week... The PenDriveLinux users have been busy, and came up with a snazy way to do a Minty Install from Windows (unpacks the ISO to your HD, you copy the folders and files to USB stick, run a bat file FROM the stick, reboot, and voila!). It works fine except that that persistent thing ( :roll: )... It even pretents to get and install updates -- it may very well DO that, but my stick is un-bootable after that. Well, not TOTALLY unbootable... it's un0mintable, for me. It starts and drops me off in an initramfs session but I have no idea what to do once I'm there.

If there are any logs I can check, tell me where they're at, and maybe I can at least get an UPDATED Minty Stick, even if it won't keep my changes.


Oh, in reading over some other, older stuff, I did see one person state a need to make a new user -- immediately -- with admin permissions, I guess to set up a root-able user for the next boot.

I will see if I can remember how to do that...

Otherwise, it's all too cool! I rolled a quick one for me, dropped another for a friend, and even tried their Ubuntu 7.10 install (same technique)... all fail on reboot if any updates happen (I wonder if it's "next boot" period? I need to play more with it, non-destructively)

I couldn't get Compiz going (needs updates) and that was one of the first updates I tried... I also tried their plain-jane "PenDriveLinux" install... it always starts well... then updates happen. :P

Back to the drawing board. ;-)

User avatar
jonpackard
Level 1
Level 1
Posts: 44
Joined: Mon Nov 27, 2006 5:44 pm
Location: Bradenton, FL, USA

Re: Linux Mint on a USB Stick

Post by jonpackard »

In response to a request for an update to this guide for Mint 5.0 - Please see http://linuxmint.com/wiki/index.php/LiveUSB (I have not been able to get a successful USB boot without using unetbootin, but with unetbootin, it was easy!).
Jon Packard -- Linux Mint user since 11/14/2006

ddvvoorraakk

Re: Linux Mint on a USB Stick

Post by ddvvoorraakk »

jonpackard wrote:In response to a request for an update to this guide for Mint 5.0 - Please see http://linuxmint.com/wiki/index.php/LiveUSB (I have not been able to get a successful USB boot without using unetbootin, but with unetbootin, it was easy!).
http://www.pendrivelinux.com/linux-mint ... #more-1019
I think..this is very good and simply tutorial...i have it...it is working properly...
Kamil

andrewchipka
Level 1
Level 1
Posts: 5
Joined: Fri Jan 01, 2010 11:30 am

Re:

Post by andrewchipka »

the link is dead

User avatar
Troken
Level 3
Level 3
Posts: 109
Joined: Mon Nov 16, 2009 3:56 am

Re: Linux Mint on a USB Stick

Post by Troken »

As mentioned before, www.pendrivelinux.com has many tutorials on how to install Linux Mint on a stick. For instance install Helena using Windows:
http://www.pendrivelinux.com/install-li ... n-windows/

Post Reply

Return to “Tutorials”