Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[Solved] Get a full debian installer on bootable USB stick
[Solved] Get a full debian installer on bootable USB stick
Update: my solution is in this post: http://forums.debian.net/viewtopic.php? ... 72#p307103
For days now I've been trying to work out how to get a "full" debian installer (ie, not a netinst installer but as much as you'd find on say, the first CD) onto a bootable USB stick.
Most of the tutorials I've seen work with the netboot installers only.
Using UNetBootin
The installer works until the "Detect and mount CD-ROM" step where it wants to mount a CD drive. Won't accept /dev/sdb or whatever device the USB stick is.
Using live-magic with the option to include the installer
The installer works until the "Detect and mount CD-ROM" step where it wants to mount a CD drive, as above. This confuses me, since why would live-magic include this capability if it didn't work for a USB stick?
Using boot.img.gz method
There's only enough room in the image for a netinst ISO. I haven't so-far been able to resize the filesystem on that image and still have a bootable USB drive, and therefore I don't even know if it would work if I did.
I want to have a USB stick capable of installing a reasonably full (gnome-desktop-environment) install of Debian without needing a network connection.
Edit: just found this forum thread where someone else had the same problem and it was never solved (he gave up and installed a different distro). I've also realised this may have been better posted in the installation forum.
Any tips?
For days now I've been trying to work out how to get a "full" debian installer (ie, not a netinst installer but as much as you'd find on say, the first CD) onto a bootable USB stick.
Most of the tutorials I've seen work with the netboot installers only.
Using UNetBootin
The installer works until the "Detect and mount CD-ROM" step where it wants to mount a CD drive. Won't accept /dev/sdb or whatever device the USB stick is.
Using live-magic with the option to include the installer
The installer works until the "Detect and mount CD-ROM" step where it wants to mount a CD drive, as above. This confuses me, since why would live-magic include this capability if it didn't work for a USB stick?
Using boot.img.gz method
There's only enough room in the image for a netinst ISO. I haven't so-far been able to resize the filesystem on that image and still have a bootable USB drive, and therefore I don't even know if it would work if I did.
I want to have a USB stick capable of installing a reasonably full (gnome-desktop-environment) install of Debian without needing a network connection.
Edit: just found this forum thread where someone else had the same problem and it was never solved (he gave up and installed a different distro). I've also realised this may have been better posted in the installation forum.
Any tips?
Last edited by thomasr on 2010-07-01 02:45, edited 2 times in total.
Re: How to get a full debian installer on bootable USB stick
The new #! Linux uses the Debian installer AFAIK, and their solution is here.
Re: How to get a full debian installer on bootable USB stick
Those instructions are just showing how to copy an image file to a USB drive (in short, using dd). You need an image file first.secipolla wrote:The new #! Linux uses the Debian installer AFAIK, and their solution is here.
Strangely enough, it appears they are just copying the .iso file, which is an image of the CD file system, to the USB drive. Surely that wouldn't make for a bootable USB drive (or at least, not on most BIOSes)?
-
- Posts: 461
- Joined: 2010-06-11 05:05
Re: How to get a full debian installer on bootable USB stick
why not?thomasr wrote: Surely that wouldn't make for a bootable USB drive (or at least, not on most BIOSes)?
Re: How to get a full debian installer on bootable USB stick
unetbootin grabs all the files you need (except the iso) online, you do need to use the Hd_Media option for it to work, iirc. Then you have to put the matching ISO image in the root directory of the stick. I always use netinstall isos, and have yet to have an issue with unetbootin. If you grab the first CD, doesn't that include Gnome?
I wish for a conjugal visit and world peace. (Don't want to seem selfish.)
Re: How to get a full debian installer on bootable USB stick
I assumed the BIOS would not be able to boot from a USB stick that has the image of a CD on it, because it would look for things like a master boot record, etc. I don't know. If this is indeed possible, why do things like UNetBootin or the boot.img.gz exist and why don't online tutorials mention it? It would redefine my understanding of a couple of thingsAnInkedSoul wrote:why not?thomasr wrote: Surely that wouldn't make for a bootable USB drive (or at least, not on most BIOSes)?
Thanks for the suggestion - 1 more thing I can try. I want to be able to install without network though, so a netinst image won't do, so I'll see if it leaves a filesystem big enough to put the regular CD image on, and if indeed it does away with that "Detect and mount CD-ROM" issue.traveler wrote:unetbootin grabs all the files you need (except the iso) online, you do need to use the Hd_Media option for it to work, iirc. Then you have to put the matching ISO image in the root directory of the stick. I always use netinstall isos, and have yet to have an issue with unetbootin. If you grab the first CD, doesn't that include Gnome?
Re: How to get a full debian installer on bootable USB stick
Bingo!
I used UNetBootin the way traveler described and it worked!
The key is not to give the ISO image you downloaded to UNetBootin (which works on almost any ISO except debian's), but to select the Debian distribution up top and use one of the "hdmedia" images, which will only install a kernel, small initrd and menu (and make it bootable).
First, you need to wipe the drive and put on a FAT16 (or FAT32 if it's more than 2GB) partition on it.
Then, go into UNetBootin and up top, select Debian and select one of the hdmedia images from the drop-down menu. I used a stable one.
Then, once it's installed its little kernel, initrd and menu to your USB drive, open up the drive and copy the ISO image you downloaded to it as well. Don't dd/cat it, just copy the file as is; the hdmedia loaders will find it and mount it even though it's an ISO file.
The only downside is that if you don't have a working network card the installer complains a bit about not being able to find a network card, but it still seems to let you continue (at least, past the part where the other installer tried to find the CD-ROM drive).
I used UNetBootin the way traveler described and it worked!
The key is not to give the ISO image you downloaded to UNetBootin (which works on almost any ISO except debian's), but to select the Debian distribution up top and use one of the "hdmedia" images, which will only install a kernel, small initrd and menu (and make it bootable).
First, you need to wipe the drive and put on a FAT16 (or FAT32 if it's more than 2GB) partition on it.
Then, go into UNetBootin and up top, select Debian and select one of the hdmedia images from the drop-down menu. I used a stable one.
Then, once it's installed its little kernel, initrd and menu to your USB drive, open up the drive and copy the ISO image you downloaded to it as well. Don't dd/cat it, just copy the file as is; the hdmedia loaders will find it and mount it even though it's an ISO file.
The only downside is that if you don't have a working network card the installer complains a bit about not being able to find a network card, but it still seems to let you continue (at least, past the part where the other installer tried to find the CD-ROM drive).
Last edited by thomasr on 2010-07-01 02:49, edited 1 time in total.
Re: [Solved] Get a full debian installer on bootable USB stick
Glad that worked for you!
I wish for a conjugal visit and world peace. (Don't want to seem selfish.)
Re: [Solved] Get a full debian installer on bootable USB stick
You are the man.
similar or same problem
Took me bout 5 minutes (3 of them to download a fresh lenny-netinst:5.0.5). Nice and easy.
Great.
similar or same problem
Took me bout 5 minutes (3 of them to download a fresh lenny-netinst:5.0.5). Nice and easy.
Great.
"I am not fine with it, so there is nothing for me to do but stand aside." M.D.
Re: How to get a full debian installer on bootable USB stick
Down in that page there are instructions for the installer too.thomasr wrote:Those instructions are just showing how to copy an image file to a USB drive (in short, using dd). You need an image file first.secipolla wrote:The new #! Linux uses the Debian installer AFAIK, and their solution is here.
Strangely enough, it appears they are just copying the .iso file, which is an image of the CD file system, to the USB drive. Surely that wouldn't make for a bootable USB drive (or at least, not on most BIOSes)?
-
- Posts: 3
- Joined: 2010-11-27 03:26
Re: [Solved] Get a full debian installer on bootable USB sti
Pros: Worked right off the bat.
Cons: Could have found this thread 5 days earlier...
I was going through some crazy stuff just trying to get Debian to install. At one point, I somehow ended up in Fedora... IDK how that happened.
I give props to the person who resolved the issue.
Cons: Could have found this thread 5 days earlier...
I was going through some crazy stuff just trying to get Debian to install. At one point, I somehow ended up in Fedora... IDK how that happened.
I give props to the person who resolved the issue.
Re: [Solved] Get a full debian installer on bootable USB sti
After hours of looking for a working solution I found this thread. Just wish I found it lot earlier. Big thumbs up and thank you very much!