On Sun, 12 Sep 2004, Stephen J. Gowdy wrote: > You probably need to create a new partition table. > > On Mon, 13 Sep 2004, Hou Xiang ZHU wrote: > > > hello, disk gurus! > > > > I should say my flash disk became two separate disks, one is 2M and the > > other is 30M, under > > windows it can find the two disk but can't merge it! how to merge these 2 > > part into one under windows? > > (Since under windows2000, it can find the two disk!) > > > > But under linux, it can only find the first 2M disk which is /dev/sda,I > > tried to use "fdisk /dev/sda", > > but didn't succeed. I try to alter the C/H/S but can't! > > > > Could you please check what is the problem? > > > > ------------------------------------------------------------------ > > The following is what I am try to to with my Flash Disk,which normally > > has 32M capacity. But since I mounted a 2M iso file to it and later I > > messed it up with Windows format tool, it became 2 disk under windows, > > (NOT even 2 partitions!), The first is 2M and the second is 30M under > > windows. > > > > But in Linux, I can only find the first disk of 2M, which is /dev/sda. > > and I tried to use "fdisk /dev/sda" to recover the whole disk, but > > didn't succeed! > > > > ------------------------------------------------------------------ > > if I use "fdisk /dev/sdb" I got: > > --------------------------------------------- > > [EMAIL PROTECTED] root]# fdisk /dev/sdb > > Unable to open /dev/sdb > > [EMAIL PROTECTED] root]# > > --------------------------------------------- > > > > The following is using: "fdisk /dev/sda" > > ------------------------------------------------------------------ > > The number of cylinders for this disk is set to 4096. > > There is nothing wrong with that, but this is larger than 1024, > > and could in certain setups cause problems with: > > 1) software that runs at boot time (e.g., old versions of LILO) > > 2) booting and partitioning software from other OSs > > (e.g., DOS FDISK, OS/2 FDISK) > > > > <-------(press 'p') > > Command (m for help): > > Disk /dev/sda: 2 MB, 2097152 bytes > > 1 heads, 1 sectors/track, 4096 cylinders, total 4096 sectors > > Units = cylinders of 1 * 512 = 512 bytes > > > > Device Boot Start End Blocks Id System > > /dev/sda1 2 4096 2047+ e Win95 FAT16 (LBA)
This sounds like a more serious problem, one that fdisk won't be able to fix. In fact, from the description it sounds like the device is presenting itself as two LUNs! To find out what's really happening, here's what you need to do. Turn on the usb-storage verbose debugging option in your kernel configuration and rebuild the driver. Then post a copy of your system log, showing what happens when you plug in the flash disk. There will be lots of debugging information, and it may show what went wrong. Alan Stern ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users