Help me get Xubuntu on a USB drive for my lady friend

Chat about Linux in general
User avatar
belovedmonster
Level 5
Level 5
Posts: 640
Joined: Thu Dec 21, 2006 12:34 pm

Help me get Xubuntu on a USB drive for my lady friend

Postby belovedmonster » Tue Jan 29, 2008 7:09 pm

My special lady friend is relying on me to supply her with a USB stick with Xubuntu but I'm having difficulties.

I've been following this pendrivelinux.com tutorial on putting 7.10 on a USB stick, albeit I'm trying to do with Xubuntu not Ubuntu, but I was told it wouldn't make any difference.

Along the way I came across a few problems and when I came to try out the final result all I got was a black screen saying boot error.

The problems I encountered were:

Step 12: When it says to remove the drive and insert it again I get an error message when the drive is inserted again. "Unable to mount the volume 'Ubuntu710'" When I click the details drop down it says something about "Cant read super block"

I ignored this and carried on but found another snag at step 17.

In the tutorial it says 'Ignore any "cannot create symbolic link" errors' in a big bold box so I guess its OK to get an error message here, my problem is I got a different error message it said:

"cp target: 'media/ubuntu710/' is not a directory: No such file or directory

Are these two problems contributing to my Boot error when I later try it?

If anyone else has another method of doing it then please let me know. I'd really like to get this sorted.

grizwald
Level 3
Level 3
Posts: 146
Joined: Sun Apr 01, 2007 4:14 am
Location: Brisbane Australia.

Re: Help me get Xubuntu on a USB drive for my lady friend

Postby grizwald » Wed Jan 30, 2008 12:34 am

Hi BM,

I had some success using the method described here:-

https://wiki.ubuntu.com/LiveUsbPendrive ... endrive%29

Perhaps you haven't seen this URL before and I hope it works OK for you too.

Cheers,

Griz.

User avatar
belovedmonster
Level 5
Level 5
Posts: 640
Joined: Thu Dec 21, 2006 12:34 pm

Re: Help me get Xubuntu on a USB drive for my lady friend

Postby belovedmonster » Wed Jan 30, 2008 6:48 am

I think trying to solve these problems might be a waste of time with my current pendrive after reading this comment "Note: on some usb-sticks fdisk says "Note: sector size is 2048 (not 512)", in which case you may very well be out of luck trying to boot from it" That's exactly what it says about my usb stick!

But that issue aside another thing I'm coming across is the second casper partition is listed as "Linux" rather than Fat16 or something like that. I'm finding the tutorial a little hard to follow in places but I get the impression that Casper partition should not be down as "Linux". Is that right?

Staffan

Re: Help me get Xubuntu on a USB drive for my lady friend

Postby Staffan » Sun Feb 03, 2008 5:59 pm

Hi,

Maybe you already solved this problem, but here is some tips on how I did it to make it work.

I also tried some of the guides at pendrivelinux, but it often ends up with me pulling my hair out.

However, to get Xubuntu to run from an USB-stick was more tricky than I could imagine. I am using xubuntu-7.10-desktop-i386.iso on my Live-CD. First I tried my own guide for Linux mint and made all from the Live-CD itself and got it to work - the first time.....
Then I had different results for each time I tried it out.

I've been using 2 different USB-sticks - Corsair Flash Voyager 1Gb and Data Traveler 1Gb and tried them out on 2 different computers to make sure everything works ok. Finally I got them both to work, booting on 2 different computers.

The only stable way I got it to work was to use Windows XP and format them with FAT (not FAT32) and then use the command syslinux -ma D: as described in my Howto for installing from XP. Then I booted up the Xubuntu Live-cd and used my other Howto to copy all the files, move vmlinuz,initrd.gz and moving/changing isolinux to syslinux.

I really don't know what the best advise is that I can give you, but I think you can use my guide for making it from the Live-CD. First use the command
fdisk in terminal:
d
1
d
2 .... and so on until you have deleted all partitions.
Then type n for new
Enter (first)
Enter(last)
Then type a for bootable - choose nr 1
t
06 for FAT 16
w for write
Then sudo umount /dev/sda1
mkdosfs -F 16 /dev/sda1
Now when your USB-stick is formatted with FAT 16 you can follow my howto for LinuxMint, but using Xubuntu-liveCD instead.
You can make your syslinux.cfg to look like this:

default live

label live
kernel vmlinuz
append file=preseed/xubuntu.seed boot=casper initrd=initrd.gz quiet splash --

I hope this isn't messing everything up for you, but if you need I can give you a more exact description on how you can combine the 2 different methods.

//Staffan

User avatar
belovedmonster
Level 5
Level 5
Posts: 640
Joined: Thu Dec 21, 2006 12:34 pm

Re: Help me get Xubuntu on a USB drive for my lady friend

Postby belovedmonster » Sun Feb 03, 2008 6:49 pm

I'm gunna try this guide (GUI based)

http://ubuntuforums.org/showthread.php?t=647587

Staffan

Re: Help me get Xubuntu on a USB drive for my lady friend

Postby Staffan » Mon Feb 04, 2008 6:11 am

That should probably work too, but there is one thing I saw in that guide to be aware off. He recommend you to format with FAT32 and that will work in most cases, but on some BIOS you will get an error like "could not find kernel image: linux". If that happen you can format with FAT16 instead.

//Staffan

User avatar
belovedmonster
Level 5
Level 5
Posts: 640
Joined: Thu Dec 21, 2006 12:34 pm

Re: Help me get Xubuntu on a USB drive for my lady friend

Postby belovedmonster » Mon Feb 04, 2008 6:16 am

Thanks for the tip.

User avatar
Fred
Level 10
Level 10
Posts: 3351
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Help me get Xubuntu on a USB drive for my lady friend

Postby Fred » Mon Feb 04, 2008 7:24 am

Since I don't know much about using pendrives, this is probably going to be a dumb question, but here goes anyway. lol

Why can't you install to a usb pendrive the same way you do to a hard drive? Then install grub to the partition /boot is in and chain load it from another install?

It is too simple, so I know it must not work. :-)

Thanks,

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.


Return to “Chat about Linux”

Who is online

Users browsing this forum: No registered users and 2 guests