Jump to content

dup2: bad file descriptor [Failed] yikes! help a noob


Guest illeagle
 Share

Recommended Posts

Guest illeagle

Day 2 in my adventures in Linux (Mandrake 7.1);

I finish installing Xfree86 4.0.2 because, as I understand from what I've read in various docs and tutorials that I need at least xfree86 4.0.1 so that I might get the drivers I downloaded for my Nvidia MX440-se videocard to work. Next I install the vid card drivers. Everything seems to go smoothly, so I then update my xf86config file to the appropriate settings, and shutdown -hr now.

 

From there I booted into windows 98, which is on a seperate HD from linux and downloaded xfree86 4.3.0, which i should've done before, heh.

After that finished downloading, I restarted my computer and booted into linux...

 

then I got some scary messages saying [Failed

 

Welcome to Linux Mandrake

Press 'I' to enter interactive boot

Mounting proc filesystem dup2: bad file descriptor [Failed

Configuring kernel perameters dup2: bad file descriptor [Failed

Setting clock (localtime): Sun Apr 13 20:26:52 EST 2003 dup2: bad file descriptor [Failed

/etc/rc.d/rc.sysinit: /dev/null : read only file system [Failed

activating swap partitions dup2: bad file descriptor [Failed

setting hostname localhost.localdomain dup2: bad file descriptor [Failed

checking root filesystem dup2: bad file descriptor [Failed

*** An error has occurred during the file system check.

*** Dropping you to a shell; the system will reboot

*** when you leave the shell.

Give root password for maintainance

(or type Control-D for normal startup):

__________________________________

 

If I type ctrl-d, it simply reboots.

If I give the root pw I am dropped to shell, and due to my low knowledge level have no idea what to do. I tried fsck'ing /dev/hdb1 (which is what i believe my linux drive is) but to no avail.

 

The above mention chenges are the only notable ones i've made since installation.

 

Any help from you guru types would be much appriciated, I'll try to answer questions promptly.

 

thanks

chris

Link to comment
Share on other sites

Guest illeagle
Well, you might want to post the contents of your /etc/fstab file (describes automounted volumes) here so we have more info..

[root@(none) /root]# cat /etc/fstab

/dev/hdb1 /ext2 defaults 1 1

none /dev/pts devpts mode=0620 0 0

/dev/hdb7 /home ext2 defaults 1 2

/mnt/cdrom /mnt/cdrom supermount fs=iso9660,dev=/dev/cdrom 0 0

/mnt/floppy /mnt/floppy supermount fs=vfat,dev=/dev/fd0 0 0

/dev/hda1 /mnt/win_c vfat user,exec,umask=0 0 0

/dev/hdb5 /mnt/win_c2 vfat user,exec,umask=0 0 0

none /proc proc defaults 0 0

/dev/hdb6 swap_upgrade swap defaults 0 0

 

What did you format your partitions as?

Before installing Linux, I had 2 physical HDs, the first is 2GB with Windows 98 on it, the second was a 6GB partitioned thrice; drives d, e and f, 2 GB each.

When it came time to partition in Linux-Mandrake Installation I chose drive D to be split into a small boot partition and a larger ext2 partition mounted @ /

I left drive E as a fat drive to use for windows downloads, games etc.

Drive F got turned into an ext2 partition for something, /home i think

 

Just out of curiousity, why 7.1?

i had a subscription to MaximumLinux a few years ago, and I had a Linux-Mandrake 7.1 installation disk and a few misc software discs from 2000/2001, so I figured I'd give it a try.

 

peace

-chris

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...