LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't mount swap & win partitions anymore (https://www.linuxquestions.org/questions/linux-newbie-8/cant-mount-swap-and-win-partitions-anymore-127762/)

Dominik 12-21-2003 05:17 AM

can't mount swap & win partitions anymore
 
Hi,

My Redhat 9 don't mount my win and swap partitions since yesterday.

During the boot the message is :

/dev/hde5 is not a valid block device
dev/hde3/ idem


The win partition is mentionned in fstab, the swap is not.

What should I do

thanks

vinay_s_s 12-21-2003 06:34 AM

what is /dev/hde5 ???
it must be /dev/hda5 or something like that.

killer_bunny 12-21-2003 07:00 AM

Well i think that swap should be in your fstab...
And looking like this..

/dev/hdb3 swap swap defaults 0 0
Of course /dev/hdb3 should be replaced to suit your needs...

About win...
/dev/hde5 is unlikely to exist cause master disk is /dev/hda, secondary disk is /dev/hdb, but if you have more than 4 disks then i guess you have scsi disk... and they are not marked hdb or hda...

So look it up again.. and reconfigure your fstab.

michaelk 12-21-2003 07:37 AM

Post the output of the console command. You will need to log in as root first
fdisk -l (thats a small L)

Kroenecker 12-21-2003 11:05 PM

Yeah do as MichealK says. And it is possible for him to have a motherboard with four ide ports. I have one ide drive labelled /dev/hdf on my third ide port.

My only question is have you done something drastic in linux recently? If for instance you recompiled a new kernel, that might do it. I had problems because default kernel installs dont usually include the proper support for the two extra ide ports on my motherboard. So if you have done a kernel compile and left out the proper support.... Otherwise I dont know :(

Dominik 12-22-2003 06:58 AM

Thanks guys,

i did the fdisk -l and discovered that hdf was the new name of my device partitions.

I don't understand why this change happened. I use to slave this hdd & have never had this kind of problems until now.

bye

DMR 12-22-2003 09:29 AM

hde and hdf would be the designations of the master and slave drives (respectively) on the primary channel of an IDE accellerator/controller card (PCI or on-motherboard).

The most likely reason for the change is that you physically rearranged the devices on your IDE channels, although improper Master/Slave jumper settings on the drive(s) could also be the culprit.


All times are GMT -5. The time now is 03:39 AM.