Hei. En saa SWAPia toimimaan. Saan alla olevia tietoja. Yritin editoida /etc/fstabia yhden nettiohjeen mukaan.
Ei onnistunut. Voisko joku auttaa. Kiitoksia etukäteen.
g:~$ gksudo gedit /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1 -- converted during upgrade to edgy
UUID=4ee629a2-6e44-45e7-a9c2-e0eac02934bb / ext3 defaults,errors=remount-ro 0 1
# /dev/hda5 -- converted during upgrade to edgy
UUID=59d8a571-f12b-4d5f-aaf8-4ba3149ff05b none swap sw 0 0
/dev/cdrom /media/cdrom0 udf,iso9660 user,noauto 0 0
Nettiohjeen mukaan korjattu rivi:
# /dev/hda5 none swap sw 0 0
:~$ gksudo gedit /etc/mtab
/dev/hda1 / ext3 rw,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
/sys /sys sysfs rw,noexec,nosuid,nodev 0 0
varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
procbususb /proc/bus/usb usbfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
devshm /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
lrm /lib/modules/2.6.20-16-386/volatile tmpfs rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
:~$ mount /dev/hda5
mount: /dev/hda5 ei löydy tiedostosta /etc/fstab, eikä /etc/mtab
~$ sudo parted /dev/hda print
Password:
Disk /dev/hda: 30,0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32,3kB 27,6GB 27,6GB primary ext3 boot
2 27,6GB 30,0GB 2451MB extended
5 27,6GB 30,0GB 2451MB logical linux-swap
Information: Don't forget to update /etc/fstab, if necessary.
~$