D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Viglen Swap - I hate UUID's!

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Potts wrote:
> I'm trying to set up a swap file on my viglen but not getting anywhere
> viglen@mpc-xubuntu:~$ cat /etc/fstab

You can edit /etc/fstab and /boot/grub/menu/list to use the regular /dev
entries. However various Ubuntu utilities will set things back to using
 UUIDs.

> # /etc/fstab: static file system information.
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> # /dev/hda1
> UUID=8d18d78d-5eb0-469f-b9ca-77e03b43db2c /               ext3    
> defaults,errors=remount-ro 0       1
> # /dev/hda5
> UUID=8d97fd08-8ea5-4d49-a2e5-da504e59261f none            swap    sw              
> 0       0
> /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
> viglen@mpc-xubuntu:~$ sudo mkswap -U 8d97fd08-8ea5-4d49-a2e5-da504e59261f

Try "sudo mkswap -U 8d97fd08-8ea5-4d49-a2e5-da504e59261f /dev/hda5"


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklnrH4ACgkQsoRLMhsZpFeYrACeKXUJTOOaK6zZsRkBcE6xn7/h
9kwAn1t6P8nd3pQOZku95o6P2szZKWSF
=W+uW
-----END PGP SIGNATURE-----


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html