Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
fsck.ext2: No such device or address while trying to open /dev/hde5
Failed to check system. Do you want to repair the errors?
Yes or No
Originally, this mess started when LILO was trying to boot Linux from hde6. When I swapped this to hda6 from the LILO boot prompt, it would load Linux, then I would get the error above after loading several icons and whenever I would click yes or no, it would exit to the root prompt after asking for my password. What I believe that is happening is that when DrakX is installing Mandrake Linux is that it is thinking my hard drive is an hde, when it is actually an hda... Now, that wouldn't be a problem if I somehow configure X from hde to hda like I did LILO.
Problem is, I don't know how to from the root prompt. -chuckles- Any help?
Its probably trying to mount your file systems using the (incorrect) details in /etc/fstab - have a look at these and see what you can get working. X shouldn't take any notice of such things, it will just look at the directory tree, not where the tree is physically located.
I think you can run your X config from the command line using "XFDrake"
Originally posted by ProdicalFlame -chuckles- I'm looking at it on the other computer, but it won't let me save the changes since it's a read only file... -kicks vi-
You say looking at it on the other computer? I don't follow... You got it NSF mounted or something?
I'm sorry. -chuckles- I'm staring at the /etc/fstab in vi, but I can't save it with the correct editing because it's a readonly file... anyway I can change it???
A slight follow up to this one... even after I found out how to swap it from a read only to an editable file, I can't save it because my swap file isn't working. -laughs- Because I have to edit this file before Linux will know where the swap file is... -pulls her hair out-
Correct me if I am wrong but I don't think you need a swap file to edit a file in vi, swap space is just a temporary space that your system uses when it runs out of ram.
try using :wq! (the ! overides the read-only setting.) to save the file. if that doesn't work it is probably because your filesystem is mounted as read-only.
Sounds to me like you're not logged in as root! Hence you don't have permission to write to the file. Unless you're really really really low on RAM then no swap ain't gonna affect you, as per cinnix's comment above.
During installation, DrakX is identifying my hard drive as an hde, not an hda. So in essence, it's labeling my partitions as the following...
hde1 = FAT32
hde2 = FAT 32
hde6 = Linux Native Partition
hde7 = Linux Swap Partition
When it does this, it writes it in fstab, which is on the /etc directory of hda6, as hde6 and hde7, when it should be hda6 and hda7. The reason that I know it is hda6 is that I can boot Linux from hda6 at the boot prompt, and the fact I don't have five hard drives.
And when I boot Linux, it goes to the same problem above when loading X:
Current State: Booting:
fsck.ext2: No such device or address while trying to open /dev/hda6
Failed to check file system: Do you want to repair the errors?
Yes or No
If I click either yes or no, it exits me to the root prompt, where I can open fstab from the /etc directory in vi... Now the problem is, I can open it and edit it in vi, but I can't save it back to it's original place. Remember, Linux is still thinking my Linux native partition is hde6, while it's hda6... and it won't know it until I save the fstab file saying that it's hda6, which I can't do because Linux still thinks it's...
Paradoxes suck... -chuckles-
Same problem with the swap file, btw. Linux thinks it's a hde7 when it's hda7... still have to edit that in fstab before it will load correctly...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.