The Pijeo | HOW-To install Ubuntu 7,04 in pendrive
Best News: Topic - Intimate goods Building materials Medical Evening dress tests Adipex online Suits Rington Xanax online Cigarettes Yachts Top car-motorcycle Free Ringtones Hydrocodone online Fioricet online Cialis online Credit Sportswear Cigarette Underwear furniture ya.by Phentermine nonPrescription Chairs Top casino Vicodin online Chronometer FDA Approved Pharmacy Cars Loan Online Rolex Replica Balans Cheap drugs online shop Green Card Information Ladies handbag Download Ringtones Pills Cars, Compares pills, Reviews pills Valium online Trousers Boots Ornaments Medicine news Tunings Cases ables Get ringtones online Ear rings car-motorcycle Online notebook shop Necklace Movable Best Ringtones Credits for Free mp3 ringtones mp3 music mobile Ambien online Fashions Cheap pharmacy shop

HOW-To install Ubuntu 7,04 in pendrive

Taking advantage of a ball-point pen USB 1GB that had wire drawing that way (a company gift), I finish creating a Ubuntu Feisty portable Fawn.

First that I have done it is to change the size of the partition FAT that came by defect in the memory of the ball-point pen, to reduce it to only 256MB, than more sufficient to continue using it with other operating systems and, in addition, so that it serves to me like warehouse of reading-writing (casper-rw) in persistent way (when it works, because at the moment there is bug on the matter). For it I have used the tool parted (in way root or with I sweat, by all means). In my case, when having ball-point pen USB in the /dev/sdb device, I did:

Code:
parted /dev/sdb

Eye, very important: it agrees that previously you do fdisk - l, for equivocarte of device and not to cause a estropicio (and it disassembles the partition you have if it mounted). Once within parted, with print you will be able to visualize the present state of the device. In order to redimensionar partition FAT, it is enough with executing (I assume that still only there is a partition and that is numbered with the 1):

Code:
resize 1 0 256MB

Also resize can be executed step by step (first, soon the 1,…; equal is suitable east method, because therefore it is giving values to you by defect and it is more difficult to be mistaken).

Reason why it could happen, I have formatted the partition:

Code:
mkfs.vfat - F 32 - n casper-rw /dev/sdb1

If it were FAT16, it would change - F 32 by - F 16. With the previous commando, we have put him the label casper-rw so that it is used in persistent way.

Later, I have left parted (quit) and I have get ready to create with fdisk a new partition ext3 in the free space left in the memory (it could it also have done with parted, but thus we learn to use more tools). In my case:

Code:
fdisk /dev/sdb

Once inside, with p you visualize the present state, with n is created a new partition (soon you say to him that p [b], for primary, [b] 2 for 2ª partition, and you enter the values by defect of beginning and end of partition to fill all the space available), with a partition 2 activates to be able to start with her (bootable), and with w the changes keep definitively (in this sense, I like more fdisk than parted, because this last one makes the changes immediately). In order to leave, q.

We format the partition ext3 (also it would have to merit ext2). In my case:

Code:
mkfs.ext3 - L ubuntu /dev/sdb2

I have chosen to do it thus so that this partition remains invisible to other operating systems and it cannot be erased or be modified by error. It will be in this partition where we copy the data of the Live CD of Ubuntu. Assuming that we have unloaded image ISO of Ubuntu we will mount, it (it is not necessary to burn it in a CD), for example, thus:

Code:
mount - t iso9660 - or loop ubuntu-7.04-desktop-i386.iso /mnt/externo/

Now, finally, we mounted the partition ext3 of ball-point pen USB:

Code:
mount - or sync /dev/sdb2 /media/sdb2/

And we copied the content of the CD in her:

Code:
cp - Rpdf /mnt/externo/ * /media/sdb2/

In fact it is not necessary to copy everything, but since there is space very well… (I let like exercise to the advanced reader discover the unnecessary files).

Now the part comes that I consider more innovator of this article (aside from choosing a ball-point pen, clearly). Since ext3 has been chosen to use a partition, hair net to Windows and another virus, will be necessary to choose a starting manager that works in this type of partitions. It could have been grub or lilo, but that would imply to have to currar configuration files to me. And as one has files of configuration in the LiveCD valid to syslinux and isolinux, I have preferred to use little well-known extlinux, whose files of configuration have the same format exactly. This application extlinux comes in the package syslinux, reason why, to install the package:

Code:
aptitude install syslinux

Before nothing, verifies with fdisk - l that everything is correct. In my case it leaves to me:

Code:
/dev/sdb disc: 1025 MB, 1025507328 bytes
32 heads, 62 sectors/track, 1009 cylinders
Units = 1984 cylinders * 512 = 1015808 bytes

Disposit. Beginning Beginning Aim Blocks You go System
249953 /dev/sdb1 1 252 and W95 FAT16 (LBA)
/dev/sdb2 * 253 1009 750944 83 Linux

Fíjate well where it is the asterisk (active partition). It must be in the partition with the Linux. Now, to install the manager of starting in ball-point pen USB:

Code:
extlinux - z /media/sdb2/

The option - z will be very useful for certain computers that, in the starting, interpret the storage devices USB like ZIPdrive devices (to see extlinux - h). We will verify that it appears a file in /media/sdb2/extlinux.sys

Some USB, strangely resist the process of starting. It is important that there is an active partition and she is only that indeed in which we have installed the starting manager. If the problems persist, mírate this article on the subject.

Since you have seen, I have installed the manager in the root of the partition. I have not known to do it of another form. It forces to us to make a small modification in the structure of files of the USB. For it we move all the files of the folder isolinux to the root:

Code:
mv /media/sdb2/isolinux/ * /media/sdb2/

And we copied kernel, etc. also to the root (yes, they have to be duplicates):

Code:
cp /media/sdb2/casper/vmlinuz /media/sdb2/
cp /media/sdb2/casper/initrd.gz /media/sdb2/
cp /media/sdb2/install/mt86plus /media/sdb2/

It is already only a thing: to copy the file of configuration of isolinux to another valid one for extlinux:

Code:
cp /media/sdb2/isolinux.cfg /media/sdb2/extlinux.conf

Also it agrees to publish it. With your favorite publisher it changes it to your pleasure. Have left I it thus (if you want, also you can unload it):

Code:
DEFAULT usb
Bootlogo GFXBOOT
GFXBOOT-BACKGROUND 0xB6875A
APPEND file=preseed/ubuntu.seed to boot=casper initrd=initrd.gz locale=es_ES bootkbd=es console-setup/layoutcode=es quiet splash -
LABEL usb
menu label ^Ubuntu in persistent way
kernel vmlinuz
append file=preseed/ubuntu.seed to boot=casper persistent initrd=initrd.gz locale=es_ES bootkbd=es console-setup/layoutcode=es quiet splash -
LABEL live
menu label ^Start or install Ubuntu
kernel vmlinuz
append file=preseed/ubuntu.seed to boot=casper initrd=initrd.gz locale=es_ES bootkbd=es console-setup/layoutcode=es quiet splash -
Xforcevesa LABEL
menu label Start Ubuntu in safe ^graphics mode
kernel vmlinuz
append file=preseed/ubuntu.seed to boot=casper xforcevesa initrd=initrd.gz locale=es_ES bootkbd=es console-setup/layoutcode=es quiet splash -
LABEL driverupdates
menu Install label with to driver ^update CD
kernel vmlinuz
append file=preseed/ubuntu.seed to boot=casper debian-installer/driver-update=true initrd=initrd.gz locale=es_ES bootkbd=es console-setup/layoutcode=es quiet splash -
LABEL check
menu label ^Check for CD defects
kernel vmlinuz
append to boot=casper integrity-check initrd=initrd.gz locale=es_ES bootkbd=es console-setup/layoutcode=es quiet splash -
LABEL memtest
menu label ^Memory test
kernel mt86plus
append -
LABEL hd
menu label ^Boot from first hard disk
localboot 0×80
append -
DISPLAY isolinux.txt
TIMEOUT 300
PROMPT 1
F1 f1.txt
F2 f2.txt
F3 f3.txt
F4 f4.txt
F5 f5.txt
F6 f6.txt
F7 f7.txt
F8 f8.txt
F9 f9.txt
F0 f10.txt

As it is above, the starting by defect will be in Spanish and will have qualified the persistent way (when it works correctly: then vmlinuz will be necessary to replace kernel).

In order to finish, we disassembled ball-point pen USB and, to prove it, we restarted the computer, ordering to him in the BIOS (that already depends on you) that starts with device USB.

it goes to me of wonder. And?

Link: | HOW-To install Ubuntu 7,04 in pendrive



For Thank you reading this post. You dog now Read Comments (3) or Leave To Trackback.

Post Info

This entry was posted on Monday, June 11th, 2007 and is filed to under GNU/Linux.

You dog follow any responses to this entry through the Comments Feed. You dog Leave To Comment, or To Trackback.



Previous Post: Message of Life (Facundo Cabral)
Next Post: BuscaTube: Your Finder of Videos

Read More

Related Reading:

3 Responses to “HOW-To install Ubuntu 7,04 in pendrive



Leave to Reply

It notices: Any comments plows permitted only because the site to owner is letting you post, and any comments will sees you remove for any reason AT the absolute discretion of the site to owner.