LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-30-2007, 09:10 AM   #1
OneShirtChris
LQ Newbie
 
Registered: Sep 2007
Distribution: SLAX, Ubuntu 7.10
Posts: 11

Rep: Reputation: 0
Partition a USB?


Ok what i'd really like to do is take my 1GB USB drive and partition it into two 512 drives. one fat32 and one ext3. The main reason i want to do this is so i can have a persistent Ubuntu live session (ubuntu 7.10) and i've read on their wiki that it's only possible with ext3, but i want to still be able to use the USB in a windows environment. there are some things out there that would let me view ext3 in windows but none of them mention support for USB drives, can someone shed some light? Thanks.
 
Old 10-30-2007, 10:06 AM   #2
redgoblin
Member
 
Registered: Jun 2005
Location: UK
Distribution: Debian
Posts: 189

Rep: Reputation: 41
As I recall you can separate a USB pen drive into more than one partition. However, Windows (and possibly other simple OS's) will think the drive is unformatted unless the first partition is FAT. Even then it will only mount the first partition, even if there are other partitions on there.

You can put Grub on the MBR of the usb drive, install a kernel to the second partition (which will be ext3) and leave the first partition free as a general data storage drive. You should be able to then boot the USB drive.

However (and I could be wrong here) I would have thought you'd need more than 512 meg to install Ubuntu.
 
Old 10-30-2007, 10:32 AM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
A USB pen drive can be formatted exactly the same way as a hard disk.

Ext2 is recommended because the intensive journaling activities can shorten the life of the pen drive.
 
Old 10-31-2007, 04:58 AM   #4
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
I tried ubuntu live plus various other installs (from pendrivelinux.com). I had quite a few teething problems and never really got off the ground.

For me, "puppy linux" worked well. www.puppylinux.org

Downloaded the ISO, burn to CD and booted. I simply paritioned the [pendrive]"disk" into 2 and installed puppy into the 1st. Puppy actually is designed to run in memory or from a pendrive. Went without a hitch.

If you MUST have ubuntu, expect some work to do!!
 
Old 10-31-2007, 06:31 AM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
This is a general method of putting any iso and make it bootable in a USB. The Linux will always boot but the distro may not run if its installer has been written to fetch the system files from a CDrom.

One can put several distros into a pen drive too.
 
Old 10-31-2007, 09:15 AM   #6
OneShirtChris
LQ Newbie
 
Registered: Sep 2007
Distribution: SLAX, Ubuntu 7.10
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks everyone for all the help i really appreciate it. I just went to pendrivelinux and found their 7.10 persistent USB install guide. it was really easy even for a noob like me. I'm probably going to get a 4GB USB drive though and do the process again. Thanks again!



UPDATE: i got ubuntu installed just fine on my USB drive, but the persistence doesn't seem to be working. i'll try a few more things and maybe i'll try puppylinux. all i really want is a live distro (maybe that i can install on my USB) that i can save my settings for and use wireless without a huge headache. I'll keep you informed.

UPDATE2: ok the process on pendrivelinux does work for persistence but they lesft something out. When you boot into linux there is a new menu item to chose, something about booting USB in persistent mode. For me that mode did not work, at all. however going to the normal live boot, hiting f6 (i think it's f6 it's the "other options" one) and at the end hitting SPACE and putting in persistent and booting that way worked perfectly. I'm def going to get a 4GB jump and redoing the process. Happy Hacking!

Last edited by OneShirtChris; 11-02-2007 at 10:22 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slax - how to install it to the USB partition vharishankar Slackware 3 12-11-2006 10:58 AM
Formating a USB partition rushi Linux - Hardware 1 08-04-2006 12:02 PM
Formatting a USB partition for use with Windows conn-fused Linux - Hardware 19 02-01-2006 04:40 AM
usb key partition table guldo Linux - General 7 07-26-2005 02:28 AM
USB Mass Storage Partition oulevon Linux - Hardware 3 11-20-2002 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration