Kubuntu / Ubuntu from USB stick

The idea is to use create a bootable USB stick (instead of a CD) where you can boot or install Kubuntu from. This is useful for laptops without a CDROM/DVD drive, like the EeePC.

The guide at https://help.ubuntu.com/community/Installation/FromUSBStick did not work for me. In fact the basic command

syslinux -s /dev/sdb1

(where sdb1 is a FAT16 or FAT32 partition on a USB stick) produced a USB stick that did not boot. It just hung, where it supposed to give a boot prompt. The graphical programs were all based on this, so I decided to try something else.

Fortunately I found a Gentoo guide which helped me a lot: http://en.gentoo-wiki.com/wiki/Gentoo_minimal_CD_on_USB_stick. They use an ext2 partition instead of a FAT partition. This works.

Here is what I did. First become root:

sudo su

Determine which device is your USB stick:

fdisk -l

Assuming that the USB stick is on /dev/sdb, use the following command to erase it and start the partitioner:

dd if=/dev/zero of=/dev/sdb count=1024
fdisk /dev/sdb

Within fdisk, use these commands to create a bootable Linux partition:

n p 1 enter enter
a 1
p
w

Then proceed with the following commands:

mke2fs /dev/sdb1
tune2fs -i 0 /dev/sdb1
aptitude install syslinux extlinux
cat /usr/lib/syslinux/mbr.bin > /dev/sdb
mkdir /src /dst
mount -t iso9660 -r -o loop /path/to/kubuntu.iso /src
mount -t ext2 /dev/sdb1 /dst
cd /dst
cp -a /src/. .
mv -i isolinux extlinux
cd extlinux
mv -i isolinux.cfg extlinux.conf
rm isolinux.bin
cd /
extlinux -i /dst/extlinux
umount /src
umount /dst
rmdir /src /dst

That's it! Reboot and change the boot priority on the BIOS setup screen.

 

bilalkhan3831

Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... tirupati travels

Nice share about this trick.

Nice share about this trick. Many people will be helped by this. prediksi taruhan bola

Wrought Iron Chandeliers

That's simpler and I'd try on my netbook. Thank you for the codes. Wrought Iron Chandeliers

sterling silver rings

I think I can use these codes to my netbook. It is tiny enough so doesn't have a CD room. sterling silver rings

bilalkhan3831

Great post full of useful tips! My site is fairly new and I am also having a hard time getting my readers to leave comments. Analytics shows they are coming to the site but I have a feeling “nobody wants to be first”. tibia videos

devidmiller5060

Hey, great blog, but I don’t understand how to add your site in my rss reader. Can you Help me please? F1R wheels

devidmiller5060

Hey, great blog, but I don’t understand how to add your site in my rss reader. Can you Help me please? F1R wheels

台中當鋪

I lost my CD Room, and I think this is a good solution to solve my problem. Thank you for sharing. 台中當鋪

shiprabrock

wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated. dieta dukan receitas

KRW Hail Claims Lawyers

Thank you so much for share. This is ery helpful to solve my netbook which don't have a CD room. KRW Hail Claims Lawyers

imranuddin

wow this good but ,I like your post and good pics may be any peoples not like because defrent mind all poeple , iso 9001 pisa

Micropigmentação Capilar São Paulo

That's a simple idea but very helpful and useful to solve some problem of application installation in notebook without CD-room. Micropigmentação Capilar São Paulo

The article has actually

The article has actually peaks my interest. I am going to bookmark your web site and maintain checking for brand new information. geneva tourism

imranuddin

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. best Mexican food near me

bilalkhan3831

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! esport

You have provided some steps

You have provided some steps to use bootable USB stick. I guess this will be very helpful for my laptop. Let me check the source code that you have provided. I guess this process will take time as we should reboot and change its priority. Garage door spring repair

Useful info

I have read your post and came to know about the procedure to create a bootable USB stick. I think this information will be helpful to all computer science students. I have tried the source code which you've provided here and it executed successfully. facial masks

nice topic

The information that you provide here seems to be very useful for all who are looking for the idea to create a bootable USB stick. The steps were very simple and easy to follow. I have gone through the steps and it really works. Thanks for share this.cheap internet

devidmiller5060

Hi there, I found your blog via Google while searching for such kinda informative post and your post looks very interesting for me. ptc

bilalkhan3831

I must say, I thought this was a pretty interesting read when it comes to this topic. Liked the material. . . adana oto lastikçi

Good post

Make sure that you have made the USB bootable. You won't be able to do it if you haven't made the USB bootable. You have to do some particular things before you try to install ubuntu or any other Linux distributions using a USB. our website

shiprabrock

his is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the excellent work. F1R wheels

bilalkhan3831

Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates. Bollywood News

bilalkhan3831

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! bakırköy falcı

devidmiller5060

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! standard internazionali sicurezza alimentare siena

hafridi

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! sistema di gestione sicurezza alimentare firenze

devidmiller5060

Hi there, I found your blog via Google while searching for such kinda informative post and your post looks very interesting for me. voyance-amour-eternel.com

shiprabrock

Pretty good post. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon. corso primo soccorso grosseto

steve smith

Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... discount eyeglasses online

steve smith

Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... discount eyeglasses online

imranuddin

Should there be another persuasive post you can share next time, I’ll be surely waiting for it. denim shirts Pakistan

devidmiller5060

Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... VCP6-DCV

shiprabrock

wow, great, I was wondering how to cure acne naturally. and found your site by google, learned a lot, now i’m a bit clear. I’ve bookmark your site and also add rss. keep us updated. foam bed

facebook

Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Just saying thanks will not just be sufficient, for the fantasti c lucidity in your writing. I will instantly grab your rss feed to stay informed of any updates. facebook

shiprabrock

Hi I found your site by mistake when i was searching yahoo for this acne issue, I must say your site is really helpful I also love the design, its amazing!. I don’t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site. best memory foam mattresses

hafridi

What a good blog you have here. Please update it more often. This topics is my interest. Thank you. . . Moto Metal truck wheels

shiprabrock

his is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the excellent work. כיתוב על מצבות

shiprabrock

Hi there, I found your blog via Google while searching for such kinda informative post and your post looks very interesting for me. הדרכת מכירות

devidmiller5060

I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post. 20x12 Moto Metal wheels

shiprabrock

his is my first time i visit here. I found so many entertaining stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the leisure here! Keep up the excellent work. rainbowpages

hafridi

Hey, great blog, but I don’t understand how to add your site in my rss reader. Can you Help me please? iso 9001 viterbo

hafridi

I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job! iso 22000

devidmiller5060

I was very pleased to find this site.I wanted to thank you for this great read!! I definitely enjoying every little bit of it and I have you bookmarked to check out new stuff you post. shopbrumano

devidmiller5060

Merely a smiling visitant here to share the love (:, btw outstanding style. Java for Android development

devidmiller5060

There is so much in this article that I would never have thought of on my own. Your content gives readers things to think about in an interesting way. Thank you for your clear information. Dubai Evening Desert Safari

devidmiller5060

Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... voyance gratuite

shiprabrock

Hi I found your site by mistake when i was searching yahoo for this acne issue, I must say your site is really helpful I also love the design, its amazing!. I don’t have the time at the moment to fully read your site but I have bookmarked it and also add your RSS feeds. I will be back in a day or two. thanks for a great site. rainbow-pages

devidmiller5060

Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing... rainbowpages

shiprabrock

When someone steals your car, it's called grand theft auto. And when your web site content is stolen, it's the online equivalent of identity theft - your company's identity. Whether you've written your content or hired a professional copywriter to write it, finding your copy on someone else's web site is infuriating. But you can put a stop to it! online plagiarism checker with percentage

shiprabrock

You have done a great job. I will definitely dig it and personally recommend to my friends. I am confident they will be benefited from this site. Fuel wheels for sale