fdisk -l antaa tälläistä: Disk /dev/sda: 40.0 GB, 40016019456 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2bd2c32a
Device Boot Start End Blocks Id System
/dev/sda1 1 2306 18522913+ 83 Linux
/dev/sda2 2307 4865 20555167+ 5 Extended
/dev/sda5 4661 4865 1646631 82 Linux swap / Solaris
/dev/sda6 2307 4556 18073062 83 Linux
/dev/sda7 4557 4660 835348+ 82 Linux swap / Solaris
Kokeilin myös tuota fdisk /dev/sda ubuntu@ubuntu:~$ sudo fdisk /dev/sda
The number of cylinders for this disk is set to 4865.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help):
Ja vielä ls -l /dev/disk/by-uuid ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 2010-05-24 21:40 23bde505-fbd1-4b20-9b9b-53c07fc02f15 -> ../../sda5
lrwxrwxrwx 1 root root 10 2010-05-24 21:40 6be9689f-cab4-45d8-bf3e-d84e4944a469 -> ../../sda1
lrwxrwxrwx 1 root root 10 2010-05-24 21:40 ee0340d3-d3a8-4c74-b60e-6fbe0f257cda -> ../../sda7
lrwxrwxrwx 1 root root 10 2010-05-24 21:40 f0589f75-eccd-4f99-91ab-5ead952fb349 -> ../../sda6
Ja vielä cat /etc/fstab ubuntu@ubuntu:~$ cat /etc/fstab
aufs / aufs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda5 swap swap defaults 0 0
Yksi enää:ubuntu@ubuntu:~$ sudo fsck -fyc /dev/sda1
fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
Checking for bad blocks (read-only test): done
/dev/sda1: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda1: 83857/1163264 files (0.1% non-contiguous), 480190/4630728 blocks