代码: 全选
graham@Gan-UBT:~$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found background image: Wallpaper.png
Found linux image: /boot/vmlinuz-2.6.32-23-generic
Found initrd image: /boot/initrd.img-2.6.32-23-generic
Found linux image: /boot/vmlinuz-2.6.32-22-generic
Found initrd image: /boot/initrd.img-2.6.32-22-generic
Found memtest86+ image: /boot/memtest86+.bin
ERROR: pdc: wrong # of devices in RAID set "pdc_cjheccejee" [1/2] on /dev/sda
ERROR: pdc: wrong # of devices in RAID set "pdc_cjheccejee" [1/2] on /dev/sda
done
顺便贴上分区情况:
代码: 全选
graham@Gan-UBT:~$ df -lh
文件系统 容量 已用 可用 已用% 挂载点
/dev/sda8 9.2G 4.5G 4.3G 52% /
none 1003M 280K 1002M 1% /dev
none 1007M 196K 1007M 1% /dev/shm
none 1007M 332K 1007M 1% /var/run
none 1007M 0 1007M 0% /var/lock
none 1007M 0 1007M 0% /lib/init/rw
/dev/sda1 21G 17G 3.3G 84% /media/[C]
/dev/sda5 31G 28G 2.2G 93% /media/[D]
/dev/sda6 36G 31G 4.7G 87% /media/[E]
/dev/sda7 45G 34G 11G 77% /media/[F]
/dev/sda10 9.2G 515M 8.2G 6% /home
graham@Gan-UBT:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x51035103
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20972826 7 HPFS/NTFS
/dev/sda2 2612 19458 135317160 f W95 Ext'd (LBA)
/dev/sda5 2612 6528 31463271 7 HPFS/NTFS
/dev/sda6 6529 11097 36700461 7 HPFS/NTFS
/dev/sda7 11098 16846 46178811 7 HPFS/NTFS
/dev/sda8 16847 18062 9764864 83 Linux
/dev/sda9 18062 18245 1464320 82 Linux swap / Solaris
/dev/sda10 18245 19458 9742336 83 Linux
graham@Gan-UBT:~$ sudo fdisk -lu
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x51035103
Device Boot Start End Blocks Id System
/dev/sda1 * 63 41945714 20972826 7 HPFS/NTFS
/dev/sda2 41945776 312580095 135317160 f W95 Ext'd (LBA)
/dev/sda5 41945778 104872319 31463271 7 HPFS/NTFS
/dev/sda6 104872383 178273304 36700461 7 HPFS/NTFS
/dev/sda7 178273368 270630989 46178811 7 HPFS/NTFS
/dev/sda8 270632960 290162687 9764864 83 Linux
/dev/sda9 290164736 293093375 1464320 82 Linux swap / Solaris
/dev/sda10 293095424 312580095 9742336 83 Linux