LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   command gurb> cp /etc/fstab does not show "/" (https://www.linuxquestions.org/questions/linux-software-2/command-gurb-cp-etc-fstab-does-not-show-501573/)

sparkbot 11-14-2006 02:22 PM

command gurb> cp /etc/fstab does not show "/"
 
I went through the tutorial on this site " grub troubleshooting". I also read all the posts through searches on the term "grub".

I in running the questions to Grub (grub>find) I found an error in the grub menu --that root is on (hd2,1), it had been labled (hd1,1). So I changed the grub menu to reflect the location of root. Root = /dev/sda2 was the correct entry for fstab and fstab showed that location for root.

Yet when I run grub > root (hd2,1)
(i get the proper file info response} -- then --
grub > cat /etc/fstab
the output starts with:
/dev/sda3 /home XXXxXXXX (this jives w/fstab and is true)

there is no listing for :
/dev/sda2 / xxxxxxxx

when aa root I open fstab in kate text editor the entry for root is the first entry(/dev/sda2). When I ask grub to cp the fstab--it's missing.
I'm getting closer to a fix, almost ready to try a boot after the corrections to the grub menu, but the fact that grub doesn't cat the root is off putting. Is this normal grub behavior or should I be looking to change an entry somewhere? This is a single boot Suse 10.1 setup.Thanks.
Edit --I ran grub > cat /etc/fstab and no boot shown, not grub > cp /etc/fstab

bigrigdriver 11-14-2006 03:29 PM

Instead of trying to cat fstab from the grub prompt, try it from a bash shell prompt.

sparkbot 11-14-2006 07:28 PM

Thank you. It shows ok with the shell.
I am much closer to fixing, at least now I can boot and get back in thanks to an image I burned to cd of a program "Super Grub Disk". That will boot me into suse, and it looks to have the stuff (tools) to figure out my boot problem. Nice to be able to reboot after a faile apply of ATI drivers, I put them back in aand then was able to reboot and get back into suse.


All times are GMT -5. The time now is 04:26 PM.