الان حل شد مشکل یا هنوز پابرجاست ؟
کد:
[root@localhost ~]# fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 1 7 56196 de Dell Utility /dev/sda2 * 8 7187 57671680 7 HPFS/NTFS /dev/sda3 7187 32684 204800000 7 HPFS/NTFS /dev/sda4 32685 60801 225849802+ 5 Extended /dev/sda5 32685 39058 51199123+ 83 Linux /dev/sda6 39059 39319 2096451 82 Linux swap / Solaris /dev/sda7 39320 60801 172554133+ 83 Linux Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk /dev/sdb doesn't contain a valid partition table Step 3
Initialize the hard disk.
[root@localhost ~]# fdisk /dev/sdb You may set your disk as your wish, please press "m" to get help.
Step 4
Format the new partition
[root@localhost ~]# mkfs -t ext3 /dev/sdb1 Step 5
Create mount point and set up automatic mount when system start up.
[root@localhost ~]# mkdir /newdisk Add the following line into fstab.
/dev/sdb1 /newdisk ext3 default 0 1