Results 1 to 5 of 5

Thread: linux usb booting

  1. #1
    Member
    Join Date
    May 2004
    Location
    notts, uk :>
    Posts
    131
    Thanks
    0
    Thanked
    0 times in 0 posts

    linux usb booting

    well basically i attempted to put debian usb image (hd-media/boot.img.gz) on my 1gig usb stick, though im (quite) sure that the stick shouldnt just have a boot.img on it, though on windows ive no idea how i can extract the *.img contents to the stick?

    duno if anyone has any experiance they can share? or suggestions?

    i have to say the deb manual/documentation wasnt too helpful, and ive not found much help on irc yet :d

    cheers
    er, if your northbridge fan is humming loudly, disconnect it. _dont_ kick the side of the case, it _will_ break it.
    i know :/

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by arsen
    well basically i attempted to put debian usb image (hd-media/boot.img.gz) on my 1gig usb stick, though im (quite) sure that the stick shouldnt just have a boot.img on it, though on windows ive no idea how i can extract the *.img contents to the stick?

    duno if anyone has any experiance they can share? or suggestions?

    i have to say the deb manual/documentation wasnt too helpful, and ive not found much help on irc yet :d

    cheers
    the easy way:
    boot.img.gz is a compressed disk image, a bit like an iso in a zip file. to write it to the stick, you need to extract it on top of the raw disk device (a bit like burning an iso, rather than burning a CD containing an iso file)

    to do so, under linux, you'd use zcat - zcat /path/to/boot.img.gz > /dev/usbdiskpartition1 (e.g. "zcat /tmp/boot.img.gz > /dev/sda1"). you might need to install a DOS MBR to the disk for it to be bootable. use install-mbr - install-mbr /dev/sda

    the harder way:
    create a fresh FAT partition on the disk. make it bootable using syslinux - syslinux /dev/usbdiskpartition1. rather than using boot.img.gz, copy on a) vmlinuz b) initrd.gz c) a debian installer ISO of some kind, all available from the same place as boot.img.gz

    now you need to create a syslinux config file. it should be called syslinux.cfg. try:
    Code:
    default vmlinuz
    append initrd=initrd.gz ramdisk_size=10240 root=/dev/rd/0 devfs=mount,dall rw DEBCONF_PRIORITY=medium
    your disk should contain five files - vmlinuz, initrd.gz, syslinux.cfg, something.iso, and ldlinux.sys

    with either method, you probably want to tell your BIOS it's a USB ZIP drive.

  3. #3
    Member
    Join Date
    May 2004
    Location
    notts, uk :>
    Posts
    131
    Thanks
    0
    Thanked
    0 times in 0 posts
    um, is this all possible from a knoppix cd?:/

    as i currently dont have a debian install, due to kicking my computer. .. kinda dont have an operating system anywhere, until i can get a usb boot stick

    complex, but true. xD
    er, if your northbridge fan is humming loudly, disconnect it. _dont_ kick the side of the case, it _will_ break it.
    i know :/

  4. #4
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by arsen
    um, is this all possible from a knoppix cd?:/
    it's all a lot easier from knoppix than it would be under windows

  5. #5
    Member
    Join Date
    May 2004
    Location
    notts, uk :>
    Posts
    131
    Thanks
    0
    Thanked
    0 times in 0 posts
    xD

    kisses.
    er, if your northbridge fan is humming loudly, disconnect it. _dont_ kick the side of the case, it _will_ break it.
    i know :/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. We heard your feedback on Newegg....
    By DR in forum General Discussion
    Replies: 33
    Last Post: 05-03-2005, 08:13 PM
  2. Replies: 5
    Last Post: 28-10-2004, 06:32 PM
  3. Are these USB Flash drives good value?
    By little me in forum Retail Therapy and Bargains
    Replies: 3
    Last Post: 23-03-2004, 12:57 PM
  4. Booting from a usb pen drive
    By Sk!mD4Rk in forum PC Hardware and Components
    Replies: 14
    Last Post: 01-01-2004, 09:33 PM
  5. Weird Problems - Please Help!!
    By chez in forum PC Hardware and Components
    Replies: 4
    Last Post: 20-09-2003, 06:25 PM

Posting Permissions

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