Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: Hibernation woes

Pastor JW

2008-05-08

Replies:

Author LoginPost Reply
On Thursday 08 May 2008 03:01:32 pm Derek Broughton wrote:
> Pastor JW wrote:

> First, look in /etc/fstab and you should see a line that says:
> UUID=59722752810d5c-61ab-4942-afa2-9e6e953f839d none swap sw 0 0
> (at least approximately). With luck, the previous line is a comment
> showing what the real device name is (these got placed there in an earlier
> upgrade process).

# /etc/fstab: static file system information.
#
# <file system> <mount point>  <type> <options>     <dump> <pass>
proc        /proc       proc   defaults     0     0
# /dev/sda3
UUID=1fb32910-543c-4394-b749-524eee23d9c1 /          ext3  
defaults,errors=remount-ro 0     1
# /dev/sda5
UUID=52810d5c-61ab-4942-afa2-9e6e953f839d none        swap   sw        
0     0
/dev/sda2     /media/cdrom0  udf,iso9660 user,noauto,exec 0     0
/dev/scd0     /media/cdrom1  udf,iso9660 user,noauto,exec 0     0


> So then, you'd want to check that nothing else was actually mounting a file
> system on that partition.
>
> Do something like this (I'm not certain sfdisk is present by default, and
> of course you need to use the correct name for your drive):
>
> $ sudo sfdisk /dev/sda -l
>
> Disk /dev/sda: 14593 cylinders, 255 heads, 63 sectors/track
> Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
>
>   Device Boot Start   End  #cyls   #blocks  Id System
> /dev/sda1  *    0+  2674   2675- 21486906  83 Linux
> /dev/sda2    13542  14592   1051   8442157+  7 HPFS/NTFS
> /dev/sda3       0     -     0       0   0 Empty
> /dev/sda4     2675  13541  10867  87289177+  5 Extended
> /dev/sda5    13168+ 13541   374-  3004123+ 82 Linux swap / Solaris
> /dev/sda6     2675+  2917   243-  1951834+ 83 Linux
> /dev/sda7     2918+ 13167  10250- 82333093+ 8e Linux LVM
>
> If you see something saying "Linux swap / Solaris", that's your swap
> partition, if it matches the one in /etc/fstab, even better! In either
> case, you can replace the UUID=59722752810d5c-61ab-4942-afa2-9e6e953f839d
> part of the line in /etc/fstab with the /dev/ name, save fstab, then "sudo
> swapon -a" should give you a swap partition.

Yep, running that command gave me this:

Disk /dev/sda: 14593 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

 Device Boot Start   End  #cyls   #blocks  Id System
/dev/sda1       0+    7     8-   64228+ de Dell Utility
/dev/sda2       8   660   653   5245222+  b W95 FAT32
/dev/sda3  *   661  14020  13360 107314200  83 Linux
/dev/sda4    14021  14592   572   4594590   5 Extended
/dev/sda5    14021+ 14592   572-  4594558+ 82 Linux swap / Solaris

So I do have a swap but why are sda4 and sda5 both looking like they start
and end at the same location?  I so far have not found a way to edit
fstab, ...well I CAN edit it, but I can't save it.

> > Besides,
> > I have not found a backup system for this machine yet. Wouldn't creating
> > a swap mean I'd have to cut it out of an existing partition? I'd suspect
> > then the existing data is in danger of being damaged. This was a factory
> > install of 7.10 from directly from Dell and it has no foreign Operating
> > Systems on
> > it. It was upgraded to 8.04 on-line using update manager.
>
> I'd be hugely surprised if it didn't have a swap partition when they
> created it. If it doesn't, you should complain. Hopefully, as a pastor,
> you have better complaint skills than I do, because I gave up on them when
> they flatly refused to honor my warranty.

I'm pretty poor at complaining, usually I get to listen to them not make
them!! ;)


--
73 de N7PSV aka Pastor JW <n><   PDGA# 35276
http://the-inner-circle.org
http://groups.yahoo.com/group/the_original_inner_circle
http://h.webring.com/hub?ring=universalministr

--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.