[Ubuntu-zh] U盘分区问题

David Lee leeleilei在gmail.com
星期二 五月 3 10:16:49 UTC 2011


sorry 贴慢了,一直存着草稿。

~$ sudo fdisk /dev/sdb

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

Command (m for help): p

Disk /dev/sdb: 8127 MB, 8127512576 bytes
251 heads, 62 sectors/track, 1020 cylinders
Units = cylinders of 15562 * 512 = 7967744 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00054ed4

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          14      108903   83  Linux
/dev/sdb2              15        1020     7827686    5  Extended
/dev/sdb5              15         900     6893935   83  Linux
/dev/sdb6             901        1020      933689    c  W95 FAT32 (LBA)

插入windows后就能识别出分区,在磁盘管理器里面,sdb6跑到了U盘分区的第一个位置,而不是第3个,盘符正常,显示的状态也是healthy,但双击时还是提示需要format。

U盘上还有其他数据,不方便测试是否识别第一个分区是w95的情况了。poppy的情况说明还是可以的。



2011/4/29 Poppy <poppylx在gmail.com>

> 算了,还是分回去吧,U盘还是当U盘用好了。
>
>
> On 04/29/2011 11:56 PM, tvdbukrf inuyasha wrote:
>
>> 我试过~无不以格式化告终~
>>
>> 2011/4/29 Earthson<earthson.landy在gmail.com>
>>
>>  貌似用disk utility就可以分区了吧。。貌似windows只能识别第一个分区,所以,第一个分区不要用linux专有的格式
>>>
>>> 2011/4/29 tvdbukrf inuyasha<4entertrifle在gmail.com>
>>>
>>>  大部分U盘貌似不支持分区~你强行分了也会认不出,各种问题
>>>>
>>>> 2011/4/29 Poppy<poppylx在gmail.com>
>>>>
>>>>  今天在邮件列表有朋友提示说U盘分区应该先分Windows分区再分Linux分区。
>>>>> 但是我用fdisk分区后Linux分区一直无法识别。
>>>>> mount时出现提示:
>>>>> Error mounting:mount:wrong fs type. bad option, bad superblock on
>>>>> /dev/sdb2.
>>>>> missing codepage or helper program, or other error
>>>>> In some cases useful info is found in syslog - try dmesg|tail or so.
>>>>>
>>>>> 运行dmesg|tail:
>>>>> [ 2348.719805] sd 6:0:0:0: [sdb] No Caching mode page present
>>>>> [ 2348.719810] sd 6:0:0:0: [sdb] Assuming drive cache: write through
>>>>> [ 2348.719815] sd 6:0:0:0: [sdb] Attached SCSI removable disk
>>>>> [ 3061.738527] EXT3-fs error (device sdb2): ext3_check_descriptors:
>>>>>
>>>> Block
>>>
>>>> bitmap for group 1 not in group (block 0)!
>>>>> [ 3061.989218] EXT3-fs (sdb2): error: group descriptors corrupted
>>>>>
>>>>> 最后描述下我的操作:
>>>>> fdisk /dev/sdb
>>>>> 删除所有分区,创建两个主分区
>>>>> 第一个主分区修改id为fat32类型
>>>>> 然后w写入
>>>>> 退出
>>>>> mkfs.vfat /dev/sdb1
>>>>> mkfs.ext3 /dev/sdb2
>>>>>
>>>>> 谁知道什么原因啊,帮帮
>>>>>
>>>>> --
>>>>> ubuntu-zh mailing list
>>>>> ubuntu-zh在lists.ubuntu.com
>>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>>>>
>>>>>  -------------- 下一部分 --------------
>>>> 一个HTML附件被移除...
>>>> URL:<
>>>>
>>>>
>>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110429/101e6afb/attachment.html
>>>
>>>> --
>>>> ubuntu-zh mailing list
>>>> ubuntu-zh在lists.ubuntu.com
>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>>>
>>>>
>>>
>>> --
>>>
>>>                                    这个世界不会因为没有你而失去什么
>>> 但是,却有可能因为你的存在而发生一些改变。。
>>> -------------- 下一部分 --------------
>>> 一个HTML附件被移除...
>>> URL:<
>>>
>>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110429/76630dab/attachment.html
>>> --
>>> ubuntu-zh mailing list
>>> ubuntu-zh在lists.ubuntu.com
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>>>
>>>  -------------- 下一部分 --------------
>> 一个HTML附件被移除...
>> URL:<
>> https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110429/f24b3622/attachment.html
>> >
>>
>
>
> --
> ubuntu-zh mailing list
> ubuntu-zh在lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh
>



-- 
Regards, David
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110503/dc271759/attachment.html>


关于邮件列表 ubuntu-zh 的更多信息