Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
关于分区
View previous topic :: View next topic  
Author Message
freeair



Joined: 04 Dec 2006
Posts: 11

小企鹅: 320

PostPosted: 2006-Dec-05 Tue, pm3:19 Reply with quote
 Post subject: 关于分区

用fdisk把SD卡分成两个区一个 一个linux分区(83),一个swap(82)

操作顺序 umount /mnt/card
fdisk /dev/mmcblk0p1
按n 选p 选1 然后选开始和结束柱面。
重复一次,其他不变改选2。
按t 把第二个分区改为swap
按w 退出,出现error22 Invalid argument
同时提示reboot系统。

reboot

加载卡,df找不到分区,还是一张卡。

请问各位DX如何解决呢? 我的是R121版的OS
Back to top
View user's profile Send private message
badog
论坛管理员


Joined: 01 Nov 2006
Posts: 1021

小企鹅: 6575

PostPosted: 2006-Dec-05 Tue, pm3:24 Reply with quote
 Post subject:

fdisk /dev/mmcblk0p1
再一次.
Back to top
View user's profile Send private message Send e-mail
freeair



Joined: 04 Dec 2006
Posts: 11

小企鹅: 320

PostPosted: 2006-Dec-05 Tue, pm3:30 Reply with quote
 Post subject:

fdisk /dev/mmcblk0p1

再一次

按p可以看到分区

不过退出看不到了
Back to top
View user's profile Send private message
wowotou



Joined: 27 Nov 2006
Posts: 38

小企鹅: 1101

PostPosted: 2006-Dec-05 Tue, pm5:33 Reply with quote
 Post subject:

也想这么弄 但请教 我刷完ROM里面怎么没/dev/mmcblk0p1这个设备?
Back to top
View user's profile Send private message
wowotou



Joined: 27 Nov 2006
Posts: 38

小企鹅: 1101

PostPosted: 2006-Dec-05 Tue, pm10:05 Reply with quote
 Post subject:

我是这样弄的

#umount /dev/card

#fdisk /dev/mmcd/disc0/disc
n p 1 起始 结束
n p 2 起始 结束
w

#mkfs.ext3 /dev/mmcd/disc0/part1
#mount /dev/mmcd/disc0/part1 /mnt/card

#mkswap /dev/mmcd/disc0/part2
#swapon /dev/mmcd/disc0/part2

刚开始 不知道对不? Very Happy
Back to top
View user's profile Send private message
freeair



Joined: 04 Dec 2006
Posts: 11

小企鹅: 320

PostPosted: 2006-Dec-05 Tue, pm10:46 Reply with quote
 Post subject:

我和你 版本不一样 所以不一样
Back to top
View user's profile Send private message
uujokent



Joined: 22 Nov 2007
Posts: 27
Location: 苏州
小企鹅: 846

PostPosted: 2008-Feb-29 Fri, am11:15 Reply with quote
 Post subject: 为何我的c1000 sd 2g的卡分区后看不到?

为何我的c1000 sd 2g的卡分区后看不到?
fdisk -l
/dev/mmcda1 * 1 2861 2011014+ 6 FAT16

但在fdisk命令里却能显示:
fdisk /dev/mmcda1
Command (m for help): p
/dev/mmcda1p1 1 800 1612768+ 83 Linux
/dev/mmcda1p2 801 997 397152 82 Linux swap /

这样就无法使用mkfs.ext3命令格式化了,为什么?
Back to top
View user's profile Send private message
ccpaging



Joined: 07 Dec 2006
Posts: 757

小企鹅: 16604

PostPosted: 2008-Mar-01 Sat, am12:29 Reply with quote
 Post subject:

正确的命令是
fdisk /dev/mmcda

_________________
SL-C1000, 1G CF, 1G SD
pdaxrom 1.1beta3
Roku Wifi Card(Used in Cacko 1.23 & pdaXrom 1.1 Beta3)
http://ccpaging.blog.ubuntu.org.cn/
http://ccpaging.osall.com/
http://blog.sina.com.cn/zaurus/
Back to top
View user's profile Send private message
Display posts from previous:     
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Zaurus 中文论坛 Forum Index » pdaXrom & debain & openBSD All times are GMT + 8 Hours
Page 1 of 1

 
Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

[ 页面生成时间: 秒 ] :: [ 次查询 ] :: [ ]
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional