You are not logged in.
Pages: 1
Hi
I have 3 harddrives 2 sata and 1 ide and a usb modem and when i install linux and run fdisk -l my ide it is labled as sda,my sata drives are sdb,sdc and my usb is sdd1.when i finished installing and boot up linux i get filestem check failed,and the only way i can login is to disable the filestem check. I checked /etc/fstab and it says my linux install, on my ide drive is still on sda like it's supposed to be but when i reboot linux, fdisk -l says the drive has changed from sda to sdc or sdb.so i guess what im asking, is there a command or a file i can edit to force linux to see my linux ide as sda everytime
Thanks
Last edited by unilx (2009-10-31 05:09:15)
Offline
Use UUID or file system labels in both grub and fstab.
Good ideas do not need lots of lies told about them in order to gain public acceptance.
Offline
Sorry, code tags don't seem to be working, or I would have used them...
I would try using the UUID in /etc/fstab instead of /dev/sda...
In the terminal type: blkid
and you will get a list similar to this:
/dev/sda1: UUID="4A622D3C622D2DDF" LABEL="Vista" TYPE="ntfs"
/dev/sda2: TYPE="swap" UUID="3e51dc6a-86bc-4ae4-97b5-dd0ba57f955e"
/dev/sda3: UUID="010d621a-5291-4228-a18b-be362b5140da" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: UUID="48d767d2-f223-453b-bf68-fdfc56a7c28b" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda6: UUID="66d18400-2a66-4359-ba5d-a46f6a3af63e" TYPE="ext3"
Figure out which partition or drive is your root drive, and configure your /etc/fstab entry like this:
UUID=<uuid> /media/sda1 ext3 defaults,umask=007,gid=46 0 0
where <uuid> is the ID you got from blkid output, and just keep the rest of the settings as they are.
Might solve the problem...
Munky
If the advice you're given in this forum solves your issue, please mark the post as [SOLVED] in consideration to others.
"More than any time in history mankind faces a crossroads. One path leads to despair and utter hopelessness, the other to total extinction.
Let us pray that we have the wisdom to choose correctly." -- Woody Allen
Offline
Pages: 1