DaveUSB
Group: Members
Posts: 10
Joined: Feb. 2005 |
|
Posted: Mar. 02 2005,03:23 |
|
Ok I figured it out.
The problem was that I had erased the original partition tables, cause I wanted to have more than one partition. It's almost as if /dev/sda1 is written on /dev/sda * shurgs *
Even the howtos tell you to make /dev/sda1, the best you can do is not to mess up with the partitions and just install DSL with the partition scheme you got when you purchased your Stick. Another thing you could do is to back up the original stick from Linux using dd if=/dev/sda of=$HOME/usboriginal.iso
So what I did is, I erased the partitions and MBR with
dd if=/dev/zero of=/dev/sda bs=512 count=1 dd if=/dev/zero of=/dev/sda1 bs=512 count=1 I even did a if=/dev/zero of=/dev/sda till it was all zeroed out.
Then from Windows, I tried to open the F: drive (which corresponds to the stick). Windows said, hey this device is weird lets format it, so I let windows do it, although I chose fat16.
Then followed the DSL to USB using Windows XP and winimage and stuff, and it works great.
This is what the partition table looks like: Now
Code Sample | fdisk -l /dev/sda
Disk /dev/sda: 259 MB, 259522560 bytes 8 heads, 62 sectors/track, 1021 cylinders Units = cylinders of 496 * 512 = 253952 bytes
Device Boot Start End Blocks Id System /dev/sda1 ? 8563200 8326647 2088818490 1 FAT12 Partition 1 has different physical/logical beginnings (non-Linux?): phys=(124, 38, 11) logical=(8563199, 1, 16) Partition 1 has different physical/logical endings: phys=(344, 195, 26) logical=(8326646, 0, 49) Partition 1 does not end on cylinder boundary. /dev/sda2 ? 2165258 1663408 2023024920+ 42 SFS Partition 2 has different physical/logical beginnings (non-Linux?): phys=(453, 241, 50) logical=(2165257, 4, 21) Partition 2 has different physical/logical endings: phys=(26, 59, 22) logical=(1663407, 6, 41) Partition 2 does not end on cylinder boundary. /dev/sda3 ? 3430653 3431981 329394 6f Unknown Partition 3 has different physical/logical beginnings (non-Linux?): phys=(367, 183, 2) logical=(3430652, 4, 42) Partition 3 has different physical/logical endings: phys=(102, 116, 32) logical=(3431980, 6, 17) Partition 3 does not end on cylinder boundary. /dev/sda4 2819281 4945998 527425919+ 49 Unknown Partition 4 has different physical/logical beginnings (non-Linux?): phys=(332, 76, 4) logical=(2819280, 0, 33) Partition 4 has different physical/logical endings: phys=(344, 78, 21) logical=(4945997, 3, 53) Partition 4 does not end on cylinder boundary.
Partition table entries are not in disk order
|
--------
Moral of the story: Don't mess up the original partitions unless you have to, and if you have to, make backups. I learned that the hard way.
|