Hello all.

I'm having two issues, sort of related.  The first one is that since I
reinstalled Win98 on my first disk I'm having swap issues.  The second is
that the 13GB second drive that Linux resides on is only using 1.4GB of the
available space.

On bootup I get the error message:

Activating swap partitions  swapon:  /dev/hda2  No such device  [FAILED]

My /etc/fstab looks as follows:

/dev/hda1 /mnt/DOS_hda1 vfat user,exec,conv=binary 0 0
/dev/hda2 swap swap defaults 0 0
/dev/hdc5 / ext2 defaults 1 1
/dev/hdc6 swap swap defaults 0 0
/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0
none /proc proc defaults 0 0
none /dev/pts devpts mode=0620 0 0
/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0

Ok, so I'm seeing that fstab sees two swap partitions... and I don't know what
it thinks hda2 could be.  So I did an fdisk to find out what the system thinks
is the swap file...

[root@localhost /root]# fdisk -l /dev/hdc
 
Disk /dev/hdc: 255 heads, 63 sectors, 1650 cylinders
Units = cylinders of 16065 * 512 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hdc1   *         1         2     16033+  83  Linux
/dev/hdc2             3      1650  13237560    5  Extended
/dev/hdc5             3       194   1542208+  83  Linux
/dev/hdc6           195       226    257008+  82  Linux swap
/dev/hdc7           227      1650  11438248+  83  Linux 

Ok, so it thinks /dev/hdc6 is the swap file.  So am I correct in thinking I
need to run the swapon or mkswap commands?  Both?  Will I also have to edit
/etc/fstab?  And what is hdc2?

So now I also see where the rest of my Linux disk has gone - /dev/hdc7, that 
never gets mounted automatically.

When I do df -h this is what's reported:

Filesystem            Size  Used Avail Use% Mounted on
/dev/hdc5             1.4G  1.1G  308M  78% /
/dev/hda1             6.0G  1.2G  4.8G  21% /mnt/DOS_hda1 

How can I "combine" hdc5 and hdc7 without destroying my data?  Is it possible?
I'm getting a new PC soon and will install a clean copy of Mandrake 8.0 on it
but I don't want to make the same mistake of installing the OS files onto a
small partition, and I don't want to have to install all of my apps, etc onto a
different /dev.

Any help appreciated,
JLucien.

--
___________________________________________
Registered Linux User #223390
"Welcome to the murky underworld of socialist dining"


Reply via email to