LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-30-2001, 05:03 AM   #1
ProdicalFlame
LQ Newbie
 
Registered: Jun 2001
Distribution: Mepis, baby. MEPIS!!!
Posts: 13

Rep: Reputation: 0
Wink DrakX and Partitions


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?

Flame

 
Old 06-30-2001, 05:26 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
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"

HTH

Jamie...
 
Old 06-30-2001, 06:00 AM   #3
ProdicalFlame
LQ Newbie
 
Registered: Jun 2001
Distribution: Mepis, baby. MEPIS!!!
Posts: 13

Original Poster
Rep: Reputation: 0
-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- Help???

And thanks for your help so far...

Flame
 
Old 06-30-2001, 06:08 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
Quote:
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?

Jamie...
 
Old 06-30-2001, 06:11 AM   #5
ProdicalFlame
LQ Newbie
 
Registered: Jun 2001
Distribution: Mepis, baby. MEPIS!!!
Posts: 13

Original Poster
Rep: Reputation: 0
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???

Flame
 
Old 06-30-2001, 08:00 AM   #6
ProdicalFlame
LQ Newbie
 
Registered: Jun 2001
Distribution: Mepis, baby. MEPIS!!!
Posts: 13

Original Poster
Rep: Reputation: 0
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-

Help? -pleading look-

Flame
 
Old 07-10-2001, 03:07 AM   #7
cinnix
Member
 
Registered: Jun 2001
Location: Northern Ohio
Distribution: RedHat, Engarde and LFS
Posts: 237

Rep: Reputation: 30
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.
 
Old 07-10-2001, 04:13 AM   #8
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
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.

cheers

Jamie...
 
Old 07-10-2001, 11:55 PM   #9
ProdicalFlame
LQ Newbie
 
Registered: Jun 2001
Distribution: Mepis, baby. MEPIS!!!
Posts: 13

Original Poster
Rep: Reputation: 0
Ok, let me explain the entire problem:

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...

Any help with this one?

Flame
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partitioning from DrakX simeandrews Mandriva 0 09-11-2004 07:48 AM
DrakX bluewall21 Linux - Newbie 9 06-12-2004 09:10 AM
drakx problem grapnell Mandriva 0 03-28-2004 09:25 PM
reinstalling drakx rganesh Mandriva 0 12-07-2003 08:23 PM
need help with Drakx!!! i_MAC Linux - Software 4 08-17-2001 02:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration