Debian :: Format A Bootable USB Flash Drive?
Apr 18, 2011
I'm afraid I am going to expose my age here.
I remember being able to format a 3.5 inch floppy using MS DOS. The command was format a:/s
("a" was the drive letter and the "/s" was to add the bootable system file.)
HOW can I do that in LINUX, specially Debian 6.01 (my current version) I googled it and found a bunch of sites all offering answers.
NONE worked for me, I saw an option in a Slackware installation with a "make bootable USB stick option".
(It can be used as a rescue USB Stick also) We don't have that in Debian. How can I do that with my current Debian install?
I have several Debian USB installs on flash drives, They work great and give the user an opportunity to run and experience Debian with modifying their set-up. I am trying to set-up one that will NOT only boot and work as a live install, but will also allow me to install on the host machine right from the working USB Flash drive, if I choose to do so.
View 3 Replies
ADVERTISEMENT
May 19, 2015
I created a bootable Debian installer on my USB flash drive. The Debian Installation Guide advises;
The hybrid image on the stick does not occupy all the storage space, so it may be worth considering using the free space to hold firmware files or packages or any other files of your choice. This could be useful if you have only one stick or just want to keep everything you need on one device. Create a second, FAT partition on the stick, mount the partition and copy or unpack the firmware onto it.
I want to put non free firmware packages on the stick but when I try to create a FAT partition in the free space using Disk Utility I get the following error;
Error creating partition: helper exited with exit code 1: In part_add_partition: device_file=/dev/sdb, start=661837824, size=7507093504, type=
Entering MS-DOS parser (offset=0, size=8168931328)
MSDOS_MAGIC found
looking at part 0 (offset 0, size 657457152, type 0x00)
new part entry
[Code] ....
I formatted the drive to clear it, created a new FAT partition and copied the Debian.iso to it again. When I tried again to create a partition in the free space the same error occurred.
View 7 Replies
View Related
Apr 19, 2015
Kingston DataTraveler R3.0 32GB: plugged in
Code: Select all$ uname -a
Linux dsktop 3.2.0-4-486 #1 Debian 3.2.65-1+deb7u2 i686 GNU/Linux
Code: Select all$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[CODE]....
View 8 Replies
View Related
Sep 27, 2010
I made a bootable Ubuntu installation within my USB stick but now I want to delete it.
First I tried deleting all hidden and no-hidden files and folders but obviously I need to reset the MBR or something.
In System->Administration->Disk Utility I formatted the drive having now a blank device (FAT), but still the Ubuntu image is mounted.
Then I clicked on 'Edit Partition' and uncheck the Bootable checkbox but it returns an error (whether mounted or unmounted the drive is).
This is the return log file of the error:
Quote:
Error modifying partition: helper exited with exit code 1: In part_change_partition: device_file=/dev/sdd, start=19456, new_start=19456, new_size=4013917184, type=0x0b
Entering MS-DOS parser (offset=0, size=4022337024)
MSDOS_MAGIC found
[Code].....
How do I completely format the drive removing this bootable Ubuntu installation?
View 3 Replies
View Related
Mar 3, 2011
I created a bootable usb stick using usb-creator. Everything went great, I was able to boot from it and install and everything. Problem is, I now want my usb stick back.How can I wipe it? When I plug the stick in, nothing happens (it doesn't mount). When the stick was empty, it auto-mounted beautifully. I ran
Code:
fdisk -l
and only see my hard drive listed, so thus I cannot manually mount it:
[code]...
View 2 Replies
View Related
Feb 26, 2010
I'm just interested if there does exist any utility for creating bootable flash drives? I mean, if I could make somehow LiveCD with KDE desktop on openSUSE? I used Ubuntu and it had it's own utility with nice GUI, it just needed any bootable .ISO file or bootable CD/DVD and it created LiveCD on USB flash drive. So is there any chance to find something similar?
I work in a computer service center and it'll be very helpful (I think) to have bootable USB Flash dive with operating system to log into dead operating system partitions. Of course I have Windows LiveCD, but it has as much bugs as it's parent big brother.Oh, I forget to post my operating system versio. I'm using openSUSE 11.2 x64 with KDE version 4.3.5
View 7 Replies
View Related
May 25, 2010
It seems that the canonical instructions for making a bootable USB flash drive that runs memtest are at:
[URL]
However, after following them to a T, I boot up the new machine and get:
"could not find kernel image: linux"
Do I need to set up a lilo.conf first?
View 1 Replies
View Related
Jan 26, 2011
I want to install Ubuntu to a USB Flash drive (so I have my Desktop everywhere and can customize it as I want). I'm still choosing what's the best filesystem for the USB; Ext2 with no journaling or Ext4 with journaling but performance increase? I know that journaling will probably reduce the life of the USB flash drive dramatically, so is Ext2 the obvious choice? Or is it a bad idea to install Linux (Ubuntu probably) on a USB Flash drive? I tried running a live CD from the USB drive, but it wasn't very customizable - which is the point of carrying my OS with me.
View 3 Replies
View Related
Jan 28, 2011
I would like to boot Ubuntu 8.04 i386 from my USB flash drive. [URL] I took following steps:
1) made sure that usb_storage.ko kernel module is loaded
Code:
root@martin-desktop:~# lsmod | grep -i storage
usb_storage 39585 1
root@martin-desktop:~#
2) inserted USB flash drive
Code:
root@martin-desktop:~# tail -n0 -f /var/log/messages
Jan 29 01:43:23 martin-desktop kernel: [440650.637531] usb 2-2: new high speed USB device using ehci_hcd and address 8
Jan 29 01:43:23 martin-desktop kernel: [440650.776107] usb 2-2: configuration #1 chosen from 1 choice
[code].....
When I set "USB flash drive" as a first bootable device in BIOS, I get SYSLINUX "boot:" prompt and it loads both "vmlinuz" and "initrd.gz", but finally I end up in BusyBox prompt and following message:
Quote:
"Check root= bootarg cat /proc/cmdline or missing modules, devices: cat /proc/modules ls /dev ALERT! does not exist. Dropping to a shell!"
Last boot message which I see is "Attached scsi generic sg2 type 0".what might cause such behavior? Did I miss anything while preparing USB flash drive?
View 19 Replies
View Related
Sep 7, 2010
I have a USB drive of 4 GB and I want to make the drive as bootable. I used the command /sbin/mkbootdisk --device /dev/sdb1 "kernal version" ( sdb1 is my pen drive).When i ran this cmd,it gave me an error saying not enough space to write.
View 3 Replies
View Related
Jan 14, 2010
I've looked all over the place for the utility that will create a bootable flash drive. Can anybody tell me what the name of it is?
View 11 Replies
View Related
Jun 30, 2011
I have an Intel Core2 Duo system that I want to upgrade from Fedora 12 to Fedora 14. I have downloaded the DVD iso for Fedora 14, however, I do not want to burn a DVD for installation, and would like to be able to perform the upgrade from a USB flash drive. Where can I find information that will explain how to make a bootable flash drive that can install Fedora 14?
View 14 Replies
View Related
Jul 29, 2010
I am thinking of using flash drives to boot linux image files instead of iso files. I remember reading in the past that booting off USB flash drives were sometimes problematic -- and I don't know if they're still are. I want to know from your personal experience what type and brand of flash drive has work for you in creating a bootable flash image.
View 5 Replies
View Related
Aug 5, 2010
I wish to create a bootable disk for my existing grub legacy. I do not have a floppy drive. Could this be done on a CD-RW or flash drive?
View 1 Replies
View Related
Apr 20, 2011
How do I format a Flash Drive in Fedora 14 KDE?
View 3 Replies
View Related
Jun 17, 2010
How do I format a USB flash drive?
View 5 Replies
View Related
Oct 18, 2009
Does anyone know if there is a way to format a USB flash drive without using the command line? Is there and option for it somewhere? Or maybe a program that can do it?I am using Linux Mint 7. It is a 4GB flash drive. The format it is now is vfat (fat32
View 1 Replies
View Related
Oct 12, 2010
I have a flash drive that is write protected and in RAW format(so not formatted). I've tried everything I can find to make it usable again in Windows but I ran out of options. I quickly found about the Gnome Partition Editor, but when I try to start it, it gets an icon in the taskbar that says "Starting GParted" and then it closes. Is some other way I can format my flash drive or do I need to find out why gparted isn't running?
View 6 Replies
View Related
May 16, 2009
There is no obvious format command when I right-click on the drive.
View 2 Replies
View Related
Oct 8, 2010
I need to install an aplication to several machines. The aplication runs on a Debian and the installation process is done with a usb. I'm using a plop live usb to perform the installation. I've seen that with plop , once the live system is on, i can run some scripts.
What I'm trying to do is:
->format the target device (a 4G compact flash).
->mount the formatted device.
->untar my debian.tar.gz in that device.
After rebooting, the system never boots.
Using a live CD and invoking "fdisk -lu" :
[Code]...
View 8 Replies
View Related
Aug 28, 2015
How can I make a bootable usb drive with GParted?
Is there a package that I can install to do this.
View 8 Replies
View Related
Sep 22, 2015
Debian 8 "Jessie"
AMD CPU
EFI motherboard
System was working reliably. Moved components into a new case. Now system will not boot. Either gives error that the disk is not bootable or displays the motherboard configuration screen.
I am able to boot Debian with a USB drive and have attempted fixes in "rescue mode".
I confirmed that the system is booting to EFI mode.
I have tried re-installing the grub-efi package and re-creating the Grub config file with update-grub.
When re-installing Grub I receive "Discarding improperly nested partition ..." warnings but the installation succeeds. I have searched this warning message and the forums seem to say that it can be ignored.
I have tried re-setting the motherboard NVRAM using the jumper block.
The computer shows "debian" as a boot choice in addition to the usual raw drive model listing. However, neither of the choices will boot successfully.
View 4 Replies
View Related
Mar 23, 2011
If I dd copy a bootable usb drive to an iso will the iso be bootable?
I haven't tried it yet, but i'm going to. Heres the situation and tell me if I'm crazy.
I have several bootable CDs I use at work to do different things, so I went ahead and made a multi-boot usb stick with the isos on them and everything is golden. When i need something else, I am able to slap the ISO on the usb stick, edit the menu.lst and I'm good to go.
The problem is, for some of our equipment I have a bootable USB stick that I have to use. I tried copying the files on the bootable USB to my multi-boot usb and setup grub to boot it (which admittedly I'm no expert at), but have had no luck.
So now I'm thinking, I'll use dd to copy the bootable USB stick to an iso (using bs=2048) and then do my normal setup with an ISO and maybe it will work.
View 5 Replies
View Related
Aug 9, 2011
I would like to build an oem style install partions that is bootable with menu to choose if I want to run install or boot already installed system. I would like to include current source packages on the same dive so if I don't have internet access at time of install, can can still install what I need.I know with Windows Vista and Windows 7, you can get this but how can I do this with Debian?
View 1 Replies
View Related
Jun 5, 2010
Debian 5.0I need to format an USB pen drive as DOS FAT32 but I can't find;
mkfs
mkfs.vfat
mkdosfs
View 8 Replies
View Related
Nov 10, 2014
i have external hard drive which will be used for windows and i have to format it. i tried with disk utility program but it tells me all the time device is busy. in terminal its too complicated for me.
View 2 Replies
View Related
Feb 7, 2011
I'd like to make a bootable usb that can save more than 4gb of changes, but I don't see a way to use anything other than FAT format when using the disk creator. I can format the hard drive in ext, but creator always reformats in FAT.
View 9 Replies
View Related
Sep 10, 2010
I am new to debian and recently I have been working with a debian server. I have been asked to find out how to create a script that you can run or can be run by another program to format and mount a new hard disk?
View 3 Replies
View Related
Sep 15, 2010
I need some assistance in trying to format a USB hard drive to vfat format but can't seem to do so. I am currently using RHEL 5.3. I have tried the following commands and they all come back as "command not found"
mke2fs vfat /dev/sc1
fdisk vfat /dev/sdc1
mkfs.vfat /dev/sdc1
What am I doing incorrectly?? Can someone please point me in the right direction??
View 6 Replies
View Related
May 11, 2010
How can i copy my G4L bootable CD into a partition, so thar i can boot from it, and not use the CD anymore?The idea is based in the fact that i am so lazy ... that opening/closing the CD is getting on my nerves
View 5 Replies
View Related