Unable to create a USB booting stick
Hi. I am not a newbie, or at least not enough to be posting here, but my problem seems so basic that I think it has to be here.
I am trying from a Linux distro which is not ubuntu to create a Ubuntu bootable USB stick. For that I create the partitions and format them with fdisk and mkfs.vfat (also tried with mkfs.ext4) and when its done I copy the iso file to the pendrive with dd: "sudo dd if=./path/to/file of=/path/pendrive" Initially I had a multiple partition pendrive but I tried diferent partition structure and filesystem to be sure this wasn't the problem, so finally I enden creating a single partition on the pendrive. Also I said to the BIOS to start from the pendrive, but nothing. What I have to do? |
Quote:
Code:
sudo dd if=./path/to/file of=/dev/sdb Code:
sudo dd if=./path/to/file of=/dev/sdb1 |
Ok, that explains something.
I did it how you say and now it boots perfectly, but how I have to do it if I have more than one partition in the live USB? I am going to create a persistent live USB for when the SSD/HDD fails or if I need to start others computer with it, so I will need a swap partition at least, and maybe another partition in FAT32 for software. |
Quote:
Edit: If you want more than one partition I suggest making the bootable drive first to let Ubuntu use what it wants and then add your other partitions. |
Smart answer! I solved all my problems about that... except one more question ;)
This question is because what I saw doing the research to try to solve this problem for myself. For the ubuntu partition I am not sure which filesystem it would be better. I always thought the ext4 it would be the best, but in almost all the tutorials to do this kinds of pen the specify the FAT32 filesystem. Which is your opinion? Also... want to say that I also love Dostoievski. I almost read all their books, but I am not sure if I like the name-game with the word "dog" jajaja ;) |
Quote:
Quote:
|
Generally the live usb creators require fat. In reality most modern computers could be used if one created a live usb in some linux format but it's currently uncommon. Real installs to a usb would be some linux format in almost all cases. Remember, live to usb is sort of a hack or trick that was used to take a CD/DVD image and place it on a usb drive.
|
Quote:
Check that your USB stick is actually sdb, plug it in, then do Code:
dmesg | tail Code:
sudo dd if=ubuntu.iso of=/dev/sdb bs=1M |
All times are GMT -5. The time now is 10:52 PM. |