Results 1 to 8 of 8

Thread: Making Bootable Pendrive ! Help needed

  1. #1
    Join Date
    Apr 2008
    Posts
    67

    Default Making Bootable Pendrive ! Help needed

    Well I have been acting very lazy these day neither i have updated my Bios nor I am finishing linuxforyou and linux-magazine article request...

    I have messed my partition table but thankfully mandriva read it .. but it doesn't seems testdisk will be doing the job this time..So I had to take backup and format whole thing

    Now I am not here to ask help abt restoring table.. I was thinking of updating my BIOS as of now.. I have never done iit but have got a lot of help from frnds ... http://www.techenclave.com/cpu-mobo-...os-134345.html

    The problem is that I have never created any bootable usb in Linux so I am pretty unaware, nor the solution listed in the above thread is available for Linux.. Is there a way of creating all those mentioned thing in Linux . easy steps would be appreciated.

    So before I get started I want to finish this BIOS mess and fix the screen tearing issue , the new BIOS will provide value added options, so please help me if you know the steps..Ohh BTW my MB supports booting from pen drives and other external drives so thats not an issue !

    I see there are options in gparted to format to FAT but no flags to make it MS-DOS bootable ...

    Any help would be appreciated .. I can't do windows installation atm.. Partition table is corrupted and USB didn't get detected in Vbox So please guide me so that I can finish off things...

    Regards

  2. #2
    Join Date
    Aug 2006
    Posts
    158

    Default

    I once got it to work by using dd to copy a floppy image over the usb stick. You end up with a weird usb stick that thinks it's only 1.4 megs in size (probably due to how the msdos filesystem was formatted in the image), but it works (it will be bootable).

    There are lots of bootable floppy images all over the internet.
    Last edited by StringCheesian; 05-27-2009 at 07:43 PM.

  3. #3
    Join Date
    Apr 2008
    Posts
    67

    Default

    Bumpp... Please help guys ..

  4. #4
    Join Date
    Aug 2007
    Posts
    6,641

    Default

    There is an extra easy way to get USB drives bootable: get a (DOS) FLOPPY image and copy it 1:1 on it, then USB ZIP would be the correct selection. Otherwise you can use any bootloader to a partitioned drive like syslinux or grub 1/2. Another simple way is to use a DOS disk image, then you loop mount it, add the bios.rom + flash tool + autoexec.bat, then you do:

    mkisofs -b boot.img -o boot.iso boot.img

    In that example the floppy image is called boot.img of course. Then you get a bootable iso, which you just burn.

  5. #5
    Join Date
    Jul 2008
    Location
    Berlin, Germany
    Posts
    836

    Default

    You can turn any live CD image which uses ISOLINUX 3.72 or later into an usb image using the isohybrid utility. Afterwards just dd onto a partition on the usb stick, making sure the partition is marked bootable and you have a proper MBR.

    EDIT: oops, I missed that you want to make it MSDOS bootable. In that case you can just dd a FreeDOS boot floppy image onto it, or use MEMDISK.
    Last edited by chithanh; 06-16-2009 at 06:01 AM.

  6. #6
    Join Date
    Jan 2009
    Posts
    117

  7. #7
    Join Date
    Sep 2009
    Posts
    2

    Default

    What is the best partition to use on a usb pen drive? I have a 8gb pen drive I use for my all sorts of portability. i also transfer big files like .ISO files of 2gb or 4gb.
    ___________________
    external keyword tool ~ keyworddiscovery.com ~ keycompete.com ~ compete.com ~ webmasterworld.com
    Last edited by berthani; 09-29-2009 at 02:20 AM.

  8. #8
    Join Date
    Oct 2007
    Location
    UK
    Posts
    160

    Default

    Quote Originally Posted by berthani View Post
    What is the best partition to use on a usb pen drive? I have a 8gb pen drive I use for my all sorts of portability. i also transfer big files like .ISO files of 2gb or 4gb.
    fat32. Works everywhere. ext2 if you don't use windows. Dont go putting an indexed filesystem on a usb stick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •