LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 01-28-2007, 08:18 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,133

Rep: Reputation: 45
how to install kubuntu on a usb stick?


hey all,

i am trying to find a way to install kubuntu on my usb 2.0 gb stick so that i can be able to boot from there and have there all my preferences and my home directory.. how can i do that?

i found sth relevant on the ubuntu site but it is not what i want..i want to be able to load the kde...

thx a lot;-)
 
Old 01-29-2007, 01:41 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
http://ubuntuforums.org/archive/index.php/t-143925.html
... did you see this?

You really should state which "sth relevant" you found on "the ubuntu site" so we know what to avoid.
 
Old 01-29-2007, 12:01 PM   #3
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,133

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Simon Bridge
http://ubuntuforums.org/archive/index.php/t-143925.html
... did you see this?

You really should state which "sth relevant" you found on "the ubuntu site" so we know what to avoid.

you are correct and i apologize for that.. by "sth relevant" i mean this

by the way the link that you gave me is broken..well not the link that you gave me..but the link in your link leads to an unabailable link);-P

although i searched on their main site and they sell usb sticks with the knoppix and kubuntu preinstalled...

i am not intresting in buying a usb with a disto, i already have one and i want to install it :-P

any other ideas plzzzz

Last edited by alaios; 01-29-2007 at 12:03 PM.
 
Old 01-29-2007, 11:23 PM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
Sorry about that - you can install the live CD to a USB stick:
http://www.ubuntuforums.org/showpost...&postcount=100

There are similar for a usb HDD.
 
Old 02-01-2007, 06:03 PM   #5
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,133

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by Simon Bridge
Sorry about that - you can install the live CD to a USB stick:
http://www.ubuntuforums.org/showpost...&postcount=100

There are similar for a usb HDD.
hmm i ve tried this one...the distribution seems to boot from the usb and after the blue logo in the middle i get a screen saying

"BusyBox1.1.3 Debia blha bla

can't access tty; job control turned off.

(initramfs):"

and wait for my commands(

any ideas what is that and what went wrong?
 
Old 02-02-2007, 06:29 PM   #6
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
I've been wanting to do the same, run Linux off a USB drive for a long time, now. Today with the help of above link, I now have Kubuntu working on my 20gb USB HD. It's great and much faster than booting off the CD.

To test 'persistence', I created an OpenOffice document plus changed the background wallpaper. After rebooting, both the document and the wallpaper were still there. Cool!

alaios,

Have you tried doing the process all over again? Maybe you missed a step along the way.

I used the HP format utility then I booted off the Kubuntu Live CD and shrunk the FAT partition to 700MB. Then used cfdisk to create a Linux partition on the rest of the USB HD. Finally, ran mke2fs on the second partition to label it 'casper-rw' and make it ext2.

This is the command I used to label and format the Linux partition:
Code:
sudo mke2fs -v -L casper-rw /dev/sda2
replace sda2 with your drive designation

Then I followed the rest of the instructions to put Kubuntu on the USB HD.

One last note of caution, maybe everyone knew about this, but the FAT partition was not set active after HP was done formatting it. I had to boot with a DOS floppy, run fdisk and make the FAT partition active.

Hope this helps.

Last edited by hrp2171; 02-02-2007 at 06:30 PM.
 
Old 02-02-2007, 06:54 PM   #7
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,133

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by hrp2171
I've been wanting to do the same, run Linux off a USB drive for a long time, now. Today with the help of above link, I now have Kubuntu working on my 20gb USB HD. It's great and much faster than booting off the CD.

To test 'persistence', I created an OpenOffice document plus changed the background wallpaper. After rebooting, both the document and the wallpaper were still there. Cool!

alaios,

Have you tried doing the process all over again? Maybe you missed a step along the way.

I used the HP format utility then I booted off the Kubuntu Live CD and shrunk the FAT partition to 700MB. Then used cfdisk to create a Linux partition on the rest of the USB HD. Finally, ran mke2fs on the second partition to label it 'casper-rw' and make it ext2.

This is the command I used to label and format the Linux partition:
Code:
sudo mke2fs -v -L casper-rw /dev/sda2
replace sda2 with your drive designation

Then I followed the rest of the instructions to put Kubuntu on the USB HD.

One last note of caution, maybe everyone knew about this, but the FAT partition was not set active after HP was done formatting it. I had to boot with a DOS floppy, run fdisk and make the FAT partition active.

Hope this helps.
man many many thanks for the reply.. i ve tried to do it again.. the only different thing that i do is the following

a) i dont use the HP software to format it under windows.. it is kind of useless isn't it? i just boot from the kubuntu live and run the following

-> sudo fdisk /dev/sdb

i erase the partitions that i get with the p option..and then i create two new primary partitions.. the first is about 700 mb and the second is the rest (1.3 gb).. i then use the following

-> sudo mkdosfs -F 32 -n casper-rw /dev/sdb1 and then the same for the sdb2 because i want both partitions to be fat32... i then follow the procedure as it is..

have you copied the syslinux.cfg file from the site as it is, as well? i ve tried many many things and they dont seem to work...

btw do you use the paths as they are? e.g you have APPEND preseed/file=preseed/kubuntu.seed boot=casper initrd=initrd.gz or sth like preseed/file=<b>/</b>preseed/kubuntu.seed and so on..

although i tried both of them...and they dont work(
 
Old 02-02-2007, 07:02 PM   #8
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,133

Original Poster
Rep: Reputation: 45
aaa and another thing.. have you tried the 6.06 or the 6.10 version of the kubuntu? because, whichever one i choose i definitively have more files than the one that this guy reports at the end of his story...
 
Old 02-03-2007, 01:04 PM   #9
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,133

Original Poster
Rep: Reputation: 45
hmm the thing that you said that the format utility does not make the partition active i think helped me a lot.. i did the procedure again (and again and again;-P) and i was able to make it start the booting procedure.. It loads the kernel and then it mounts disks and finds the network card and so on... but after some seconds it writes in a black screen this error message

"user not known to the underlying authentication module" ...and it repeats it 3-4 times and then it goes back to the screen with the blue kubuntu logo in the middle and the bar below it, and stucks there.. the usb stick seams to try and read data from time to time (its led flashes) but it doesnt go on... and i left it there trying 7-8 minutes but nothing...

any ideas?
why it doesn't load/?!?!?!?


ps. i have two fat32 partitions and the usb's name is casper-rw, although this affects the persistent feature...
 
Old 02-03-2007, 03:15 PM   #10
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
I would stick with the first partition being fat32 and the second being ext2. And yes I totally agree that using the HP utility added some unnecessary steps.

I loaded my own copy of syslinux.cfg and manually made the necessary changes. Then looked at the example and mine to make sure I didn't miss something.

I'm fresh out of ideas on what else you could try, though.

Oh and I used Kubuntu 6.06LTS.
 
Old 02-03-2007, 05:32 PM   #11
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,133

Original Poster
Rep: Reputation: 45
what could be the problem of the ext2?.. it is only used for the persistent feature which, for now, i am not trying to use it at all... (

i cannot find anything on the net informing me about this error message how is this possible....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I'd Like To Install Debian on a USB Flash Stick Vegetarian Smoker Debian 4 12-23-2006 09:58 AM
How to install Suse Linux on USB stick. LinuxInternals Linux - General 1 04-10-2006 09:03 AM
mount/umount usb stick - PQI Intelligent Stick 2.0 sandbag Linux - Software 5 05-06-2005 11:12 AM
How-to install Mandrake 10 from USB memory stick via network hpa Mandriva 0 09-03-2004 08:32 AM
Install from USB Stick araldit Linux - Newbie 2 05-21-2004 12:10 PM


All times are GMT -5. The time now is 09:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration