how I can make boot from USB?

Asked by george

hello,

my name is George ...

how I can make boot from USB?

I wait for your answer...(if you want)...

thanks a lot...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mathias Uebelacker
Solved:
Last query:
Last reply:
Revision history for this message
george (spithoula) said :
#1

hello,

my name is George ...

how I can make boot from USB ?

I wait for your answer...(if you want)...

thanks a lot...

Revision history for this message
Mathias Uebelacker (muebelacker) said :
#2

Hello George,

from a stick or drie? and which version?

Revision history for this message
george (spithoula) said :
#3

hello Mathias,

from stick and version Ubuntu 6.06 or 7.04 ... I have Windows XP ...

I wait for your answer...(if you want)...

thanks a lot...

Revision history for this message
george (spithoula) said :
#4

hello Mathias,

from stick and version Ubuntu 6.06 or 7.04 ... I have Windows XP ...

I wait for your answer...(if you want)...

thanks a lot...

----- Original Message -----
From: "Mathias Uebelacker" <email address hidden>
To: <email address hidden>
Sent: Sunday, July 01, 2007 12:28
Subject: Re: [Question #9023]: how I can make boot from USB?

Your question #9023 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/9023

    Status: Open => Needs information

Mathias Uebelacker requested for more information:
Hello George,

from a stick or drie? and which version?

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/ubuntu/+question/9023

You received this question notification because you are a direct
subscriber of the question.

Revision history for this message
Best Mathias Uebelacker (muebelacker) said :
#5

Hello George,

you need

a, your ubuntu live CD
b. a USB Stick with 1024 MByte
c. your PC must be able to boot from a stick (maybe check your bios)
d. run your ubuntu live CD

1. insert your stick
2. open a terminal
3. check the device name (for your stick) enter sudo fdisk -l in the terminal
    is really import that you identifies your stick (something like /dev/sda or /dev/sdb
4. enter sudo umount /dev/...your device1
5. enter sudo fdisk /dev/...your device
6. delete all partitions on your stick
7. create two new partitions (one with round about 700 MByte - for the ISO files, and a second with the rest space)
    after the start of fdisk select the number of the partition by pressing "d", create a new partition by pressing "n", enter "p" for a
    primarily partition and "1" for the first partition, enter "1" again to start your partition with the first cylinder, with "+750"
    knows fdisk the size of your partition, enter "a" to select a bootable partition, enter "t" to change the type of your partition,
    enter "6" for FAT16. Now the second partition enter "n" for a new one, "p" for primarily partition, "2" for 2. partition, press
    "Enter" to take the shown values, fdisk should build your second partition with the maximum size
8. now we format your first partition with a FAT16 filesystem and the name "ubuntuusb" enter:
    sudo mkfs.fat -F 16 -n ubuntuusb /dev/...your device1
9. now the second partition with a ext2 filesystem, Blocksize=4096 Byte, and the name ubuntulive enter:
    sudo mkfs.ext2 -b 4096 -L ubuntulive /dev/...your device2
10. mount your stick with sudo mount /dev/...your device1 /tmp/ubunutusb
11. change to your live CD with cd /media/cdrom (please check the correct name on your systen)
12. copy all necessary files to your stick with:
      sudo cp -rf ubuntu-live disctree dists install pics pool pressed .disk iso linux/* md5sum.txt README.diskdefines ubuntu.ico
      ubuntu-live/vmlinuz ubuntu-live/initrd.gz install/mt86plus /media/ubuntuusb
13. now change to your first usb partition and rename isolinux.cfg to syslinux.cfg by enter:
      cd /tmp/ubuntuusb
      sudo mv isolinux.cfg syslinux.cfg
14. now its time to make the stick bootable by installing syslinux und mtools:
      sudo apt-get install syslinux mtools
15. now remove the stick from your directory tree:
      cd
      sudo umount /tmp/ubuntuusb
      sudo syslinux -f /dev/...your device1

if all the stuff above works well you should be able to restart your PC and boot ubuntu from the stick

br
Mathias

Revision history for this message
george (spithoula) said :
#6

Thanks Mathias Uebelacker, that solved my question.

Revision history for this message
purnateja (purnateja-gmail) said :
#7

Hi MR.Mathias

I'm also preparing myself to do a USB boot[waiting for resources :) ]
But I have some Questions.
I saw the USB boot procedure here the first time[http://www.pendrivelinux.com/2007/02/12/usb-ubuntu-tutorial-for-linux-users/#more-117] it says fiesty cant be used if the user intends to save their job and recommends edgy. but I dont have edgy(not available for download also) , so can i use fiesty?
the other question is can i use Kubuntu Live CD(7.04)? since i intend to do a Kubuntu boot stick.