|
I have read many postings about the classic troubleshooting of missing /etc/fstab. I understand the basic steps:
1. Find your currently configured partitions with the fdisk -l command.
2. Run the e2label /dev/hda1 command to find out the partition.
3. Create the /mnt/sysimage and chroot to it.
4. Rebuild a simple /etc/fstab file with at least the settings for the root / directory.
All the postings steps stop here. However, I noticed there is more step to configure if you want to have a correct working terminal.
After rebooting, login, try to open a gnome terminal, got error:
There was an error creating the child process for this terminal
I googled and found out this is happening when udev is not initialized correctly, because the shm, pts or the console nodes don't exist.
To solve this problem, I switched to virtual terminal one (F1) and add those two lines to /etc/fstab:
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
Save and reboot. It works fine now.
Just want to share this with you guys. Maybe this is common sense and self-obvious, but I don't see it mentioned in any postings.
Please correct me if I am wrong. Thanks! |
|