Results 1 to 3 of 3

Thread: Booting from floppy to thumb drive (flash drive).

  1. #1
    Join Date
    May 2007
    Beans
    40

    Wink Booting from floppy to thumb drive (flash drive).

    Explination.
    So we have some old (OLD) computers that we were going to get rid of, and I decided to see if I could manage to scrap something useful out of them.

    They are Hatachi's, with a 450MHz processor, 128MB of ram, a floppy drive, cd drive, and 2 usb slots. Fat 16 file system, and running Windows 2000.

    So I grab a copy of xubuntu and try to get em goin. Set the bios to boot floppy, cd, hard disk, and stick in the disk... nothing.

    Reburn the image, try again: nothing.

    Make a boot disk, choose CD, it works! (oops, forgot to alternative instal... it crashes).

    Try again, it tells me that it is getting an error (0x44 i believe, no cd inserted). This continues 99% of the time, randomly deciding to let me boot from a disk.

    So I say to myself, "Self! I refuse to continue messing with this cd drive. Maybe there are other options". And indeed there were.

    This is the story of me, one computer, and pain.

    The Battle Begins.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
    Attempt 1). Insert disk. Can't read disk. Burn new disk, run disk check... no errors. Won't boot.

    Attempt 2).
    Used rawwritewin.exe to burn a copy of sbm.bin that I got from an Ubuntu install cd to a floppy. Its easy to use, just click the start, select the image (Had to choose "view all" since it is not an img file), and run.

    This worked by the way, it let me boot from the cd... but then my cd issues started up. It was not registering any cd being entered at all (God it is old hardware). So I moved on.

    Attempt 3).
    Found an *awesome* program called unetbootin. Everything was going great, got all base files installed... when it hanged while installing software. (Again, I blame old computer.. can't believe it still runs). It worked great though... I am keeping a copy of this for the future. This program lets you install an OS to a hard disk or thumb drive, either from an ISO, a cd, or from a list that it will go online and download what you need. Then you reboot and select the second option, which does what you ask. Keep an eye on this.

    Attempt 4). Started looking for more floppy images. Lots more. Some I found were superGrubDisk, which didn't have usb support (sigh). Anywho, I probably didn't know enough to use it right (too complicated?)

    Attempt 5). Tried to do a net install. Got the idea from Ubuntu's installation guides, the one about netbooting floppies.

    Basically I used the same program as before (rawwritewin.exe) to create 3 floppies: boot.img, root.img, net-drivers.img.

    The idea is you boot from boot.img, then add the next two which enable your network, and then download your OS from online! However, it failed. The boot disk gave me an error (Something like "Booting linux: failed) so I had to move on. On a side note, that same image worked on a virtual computer at home later that day, go figure.

    Attempt 6). I grabbed an external hard drive, mounted Xubuntu in deamon lite, and copied all visible and hidden files to the root of the external hard drive. Moved to the computer, plugged it in, and tried to run superGrubDisk to boot into it... but couldn't figure out how to access the usb hard drive.

    At this point, it was pretty clear I needed a floppy boot disk with usb drivers on it.

    Attempt 7). Lucky (I hope, haven't done this yet). Found someone online who suggested using the pendrivelinux floppy image. This lets you boot to a usb with the pendrive os on it, and it uses grub, so I figure I can modify its target to activate the "cd"'s I have stored on my 4GB, partitioned thumb drive (Got XP essentail and Xbuntu Alternate install on it).


    To Be Continued...
    I will update as I keep trying... and I would love to have someone else swoop in with a bootable floppy that allows booting USB devices....

  2. #2
    Join Date
    Jun 2006
    Beans
    7,419
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Booting from floppy to thumb drive (flash drive).

    Quote Originally Posted by theaceoffire View Post

    Attempt 3).
    Found an *awesome* program called unetbootin. Everything was going great, got all base files installed... when it hanged while installing software. (Again, I blame old computer.. can't believe it still runs). It worked great though... I am keeping a copy of this for the future. This program lets you install an OS to a hard disk or thumb drive, either from an ISO, a cd, or from a list that it will go online and download what you need. Then you reboot and select the second option, which does what you ask. Keep an eye on this.
    What about this:

    https://help.ubuntu.com/community/In...on/FromWindows
    (-->'CD Approach')

    Basically you start up from hard drive and it follows through on (Alternate) CD

    It'll probably freeze just like unetbootin when it gets to installing part, but worth a shot.

  3. #3
    Join Date
    May 2007
    Beans
    40

    Arrow Re: Booting from floppy to thumb drive (flash drive).

    Thanks, but I think the cd drive is broken.

    Its ok, I figured out how to do it I think.. just need some more floppies to try my idea.

    My game plan:

    1) Get the following programs:
    (rawwritewin.exe) to create 4 floppies
    boot.img, root.img, net-drivers.img
    sbm.bin

    2) In windows, use rawwritewin.exe to burn the floppy images to floppies (do it to two different floppies, cause at least one will be corrupt/missing files/etc).

    In linux, use the following command to make your floppies:
    Code:
    dd if=/path/to/floppy/images/boot.img of=/dev/fd0
    3) Insert the floppy containing boot.img into your drive, reboot. When it shows you a picture and a text input symbol, type "expert" and press enter.

    4) It will do some stuff, then say "insert root disk or usb". Swap out the boot.img floppy with the root.img one, and press enter.

    5) A menu will show up, go down to the option that says something like "Get drivers from floppy".

    6) Swap out the root.img floppy with net-drivers.img, and press enter for it to be able to access your network stuff.

    7) Go down to "detect network devices", run it. It will ask you if you want to give parameters, say no... it will ask if you want to turn on x, y, or z, and say what you want. I went with yes most of the time, although it wasn't needed.

    8) Go down to "setup network", let DHCP connect, let it remain "debian", make up a name to show the other computers (I went with "sigh"). Let it finish.

    9) Go to "Partition hard drive", tell it to delete everything, and to make one partition. (These are default options).

    10) Ether go to "go to console window" or press alt-f2 (Press alt-f1 to get back from this window).

    11)Time for some code! If everything went right, there is a folder called /target that is the root of your file system.

    Code:
    
    /////Make a temp directory//////
    mkdir tempstuff
    
    /////go there//////
    cd tempstuff
    
    /////Get the file we need from online//////
    wget http://archive.ubuntu.com/ubuntu/pool/main/d/debootstrap/debootstrap_1.0.10_all.deb
    
    /////back up to the root folder again//////
    cd ..
    
    /////Extract the stuff from the deb file//////
    ar -x tempstuff/debootstrap_1.0.10_all.deb
    
    /////Install it.//////
    zcat < tempstuff/data.tar.gz| tar xv
    
    /////Run debootstrap, to grab the basics we need for ubuntu.//////
    debootstrap --arch i386 --foreign hardy /target http://archive.ubuntu.com/ubuntu
    
    /////It does stuff here, may take a bit//////
    
    /////Now this is where I am still iffy. Here is what is suggested//////
    /////By some tutorials: Change root. //////
    chroot /target /bin/bash
    
    /////Mount proc... don't know what this means, /////
    /////but it is very important supposedly. //////
    mount -t proc proc /proc
    
    /////Edit network, don't know why.//////
    vim /etc/network/interfaces
    
    ////Not sure if this goes in the interfaces, or if it is typed in...////
    auto lo iface lo inet loopback
    auto eth0 iface eth0 inet dhcp
    
    ////Change hostname... don't know if this is needed.////
    echo debian > /etc/hostname
    
    /////Add this to etc hosts:////
    vim /etc/hosts
    
    /////Stuff to add to the hosts file: not sure if second local host was////
    ////to be misspelled like that. I added localhost just in case./////
    127.0.0.1 localhost.localdomain locahost debian localhost
    
    /////Start ubuntu install!/////
    base-config new
    
    
    /////It (hopefullY) goes and does stuff! Takes a long time,/////
    ///// a couple of errors show up (fonts mostly), just let it run./////
    ///// Go have chocolate milk.////
    
    /////Setup language.//////
    dpkg-reconfigure locales
    
    /////Update our cache./////
    apt-get update
    
    /////Search cache for a good linux kernel. I use generic myself./////
    apt-cache search linux-image
    
    /////get kernel so we can boot./////
    apt-get install linux-image-debug-2.6.24-18-generic
    
    ////Get a boot loader////
    apt-get install grub
    
    ////Install it.////
    grub-install /dev/hda
    
    ////Generate it... ? Say "y" if it asks. ////
    update-grub
    
    ctrl+d
    reboot
    And that *should* be that.

    If anything is still missing after I got my os that far, I can simply run the command "sudo apt-get install ...... oh my god...


    HANG ON.


    Found this thread, which is EXACTLY what I needed to know:
    http://ubuntuforums.org/showthread.php?t=213278

    ^_^ Hope this helps someone else!
    Last edited by theaceoffire; July 12th, 2008 at 12:08 AM.

Tags for this Thread

Bookmarks

Posting Permissions

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