As I was trying to recover the issue of modifed /etc/fstab with the Label / missing, we found that the /etc/fstab file was not writable using single user mode despite the fact that the filesystem was mounted as read write. We were also unable to access it in rescue mode booting from CentOS 4.5 CD.
We then tried to upgrade to CentOS 4.6 instead, but also encountered so problem. Finally we decided to boot Knoppix 5.1 to try editing the file. Booting from Knoppix and mounting the /dev/sda2 on /mnt, we are able to modify /etc/fstab, changing Label=/ to /dev/sda2. I later found that I could use e2label /dev/sda2 / instead.
No comments:
Post a Comment