红联Linux门户
Linux帮助

我这么格式化对吗?系统认不出分区!求救!

发布时间:2006-12-13 10:39:01来源:红联作者:wdtswan
[root@localhost ~]# cd /sbin
[root@localhost sbin]# ls -a
. fsck.msdos loadunimap ppp-watch
.. fsck.reiserfs logsave progress
accton fsck.vfat loopctrl pusb
addpart fsck.xfs losetup pwdb_chkpwd
adsl-connect fuser lsmod quotacheck
adsl-setup fxload lspci quotaoff
adsl-start generate-modprobe.conf lsusb quotaon
adsl-status genhostid mdadm rdisc
adsl-stop getkey mdevt rdump
agetty getmd mgetty rdump.static
amouse grub microcode_ctl reboot
arp grubby mii-tool reiserfsck
arping grub-install mingetty reiserfstune
auditctl grub-md5-crypt minilogd rescuept
auditd grub-terminfo mkbootdisk resize_reiserfs
avmcapictrl halt mkdosfs restore
badblocks hdparm mke2fs restore.static
blkid hisaxctrl mkfs rmmod
blockdev hotplug mkfs.cramfs rmt
busybox hwclock mkfs.ext2 rngd
busybox.anaconda ibod mkfs.ext3 route
capiinit icnctrl mkfs.msdos rpcdebug
cardctl ifcfg mkfs.reiserfs rpc.lockd
cardmgr ifconfig mkfs.vfat rpc.statd
cconset ifdown mkfs.xfs rrestore
change_console ifenslave mkinitrd rrestore.static
chkconfig ifrename mkkerneldoth rtmon
clock ifup mkreiserfs runlevel
consoletype init mkswap runuser
ctrlaltdel initlog mkzonedb service
debugfs insmod modinfo setpci
debugreiserfs insmod.static modprobe setsysfont
delpart install-info mount.ncp sfdisk
depmod installkernel mount.ncpfs sgdefects
dhclient ip mount.smb sgdiag
dhclient-script ip6tables mount.smbfs sgdskfl
dhcp6c ip6tables-restore nameif sgmode
divaload ip6tables-save nash sgraidmon
divalog ipmaddr netplugd shutdown
divalogd ipppd netreport slattach
divertctrl ipppstats net-submountd sln
dosfsck iprofd new-kernel-pkg splash
dump iptables new-memtest-pkg splash.sh
dump_cis iptables-restore nologin submountd
dumpe2fs iptables-save pack_cis sulogin
dump.static iptunnel pam_console_apply swapoff
e2fsck ipx_configure pam_tally swapon
e2image ipx_interface pam_timestamp_check sysctl
e2label ipx_internal_net parted syslogd
eiconctrl isdnctrl partprobe tc
elvtune isdnlog partx telinit
ether-wake iwconfig pcbitctl tune2fs
ethtool iwevent pidof unix_chkpwd
fbstart.sh iwgetid pivot_root update_usbdb
fbstop.sh iwlist plipconfig usbmgr
fdisk iwpriv portmap usbmodules
findfs iwspy poweroff vboxd
fsck killall5 pppoe vgetty
fsck.cramfs klogd pppoe-relay video
fsck.ext2 ldconfig pppoe-server vpnc
fsck.ext3 loadndisdriver pppoe-sniff xfs_repair
[root@localhost sbin]# fdisk

Usage: fdisk [-l] [-b SSZ] [-u] device
E.g.: fdisk /dev/hda (for the first IDE disk)
or: fdisk /dev/sdc (for the third SCSI disk)
or: fdisk /dev/eda (for the first PS/2 ESDI drive)
or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)
...
[root@localhost sbin]# fdisk -l

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 3570 28675993+ c W95 FAT32 (LBA)
/dev/hdb2 3571 9728 49464135 f W95 Ext'd (LBA)
/dev/hdb5 3571 5610 16386268+ b W95 FAT32
/dev/hdb6 5611 8798 25607578+ 83 Linux
/dev/hdb7 8799 9695 7205121 83 Linux
/dev/hdb8 9696 9728 265041 82 Linux swap
[root@localhost sbin]# mkfs -t ext3 /dev/hdb6
mke2fs 1.35 (28-Feb-2004)
max_blocks 4294967295, rsv_groups = 0, rsv_gdb = 1024
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
3204992 inodes, 6401894 blocks
320094 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=8388608
196 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000

Writing inode tables: done
inode.i_blocks = 90120, i_size = 4243456
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 28 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root@localhost sbin]# 我还应该做什么?是不是这样格式化就完成了?为什么我的电脑还是显示不出/dev/hdb6分区呢?
文章评论

共有 2 条评论

  1. wdtswan 于 2006-12-13 15:20:38发表:

    谢谢!我不认识ENG!你说的提醒我了!

  2. 58.223.40.* 于 2006-12-13 13:00:01发表:

    已经识别啦,mount到一个目录

    过路人