problems creating a usb stick to install debian
I'm trying to create a usb stick from which I could install debian.
I have an 8GB usb stick. after formatting it to fat32, I follow the instructions on
but after the
zcat boot.img.gz > /dev/sdX
thing, df shows the drive has a total capacity of only 239MB.
So, what's wrong & how do I create such a usb installer?
Yeah, I'd wondered if you'd "blatted" the drive from your other thread.
Looks like you've overwritten the drive geometry by doing that. Bad idea. I've tried to help recover these things, but don't know a good way. Go get a new USB key and use something more current - see pendrivelinux.com for a good option.
thanks for replying.
when I format the drive with fdisk, I get the full 8GB.
only after doing the zcat, when the drive is umounted, it shows 239MB. so I don't think I've damaged the drive.
the problems seems to be that only 239mb can be accssed, but the current debian testing netinstall is 256mb + the boot.img.gz is 30mb, so it's too big.
this, as far as I can tell, is a "bug" on debian side, since this setup won't fit into a usb memory stick. the older setups (netinstall + boot.img.gz) were less than 240mb so there was no issue.
If you do this:
dd if=/dev/sd of=/tmp/mbr bs=512 count=1
It should say something about /tmp/mbr being a boot sector if not you need to go back and read the "install to USB" again. Also do a cksum on the boot.img.gz, etc.
|All times are GMT -5. The time now is 07:19 PM.|