Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Not Booting
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
rutski89
Guru
Guru


Joined: 14 Mar 2005
Posts: 468
Location: United States N.Y.

PostPosted: Tue May 31, 2005 2:09 pm    Post subject: Gentoo Not Booting Reply with quote

Upon boot I get this message:
Code:
Failed to open the device '/dev/hda3': No such file or directory

Filesystem couldn't be fixed :(                                                                                             [ ! ! ]

Give the root password of maintenance
(or type Control-D for normal startup):
I can't easlly connect to this box to get a keyboard attahed on boot time, so this is really a problem. I thought chaning checkroot and checkfs via rc-updated del checkfs checkroot would fix it, but its still happening. I jumped through some hoops to get the box booted, so here is my rc-status just incase I did something wrong:
Code:
Runlevel: boot
  keymaps                                                                                                        [ started ]
  clock                                                                                                          [ started ]
  localmount                                                                                                     [ started ]
  consolefont                                                                                                    [ started ]
  modules                                                                                                        [ started ]
  hostname                                                                                                       [ started ]
  net.lo                                                                                                         [ started ]
  serial                                                                                                         [ started ]
  urandom                                                                                                        [ started ]
  rmnologin                                                                                                      [ started ]
  bootmisc                                                                                                       [   off   ]
Runlevel: default
  ntp-client                                                                                                     [   off   ]
  sshd                                                                                                           [   off   ]
  acpid                                                                                                          [   off   ]
  local                                                                                                          [ started ]
  vixie-cron                                                                                                     [ started ]
  syslog-ng                                                                                                      [   off   ]
  domainname                                                                                                     [   off   ]
  coldplug                                                                                                       [ started ]
  net.eth0                                                                                                       [   off   ]
  netmount                                                                                                       [   off   ]
  xinetd                                                                                                         [ started ]
  hotplug                                                                                                        [ started ]

_________________
<< ^ | ~ >>
Back to top
View user's profile Send private message
wippie
n00b
n00b


Joined: 27 Apr 2004
Posts: 62

PostPosted: Tue May 31, 2005 2:19 pm    Post subject: Reply with quote

boot from gentoo's livecd, from there you can check /dev/hda? with ckfs or even fdisk.
Back to top
View user's profile Send private message
rutski89
Guru
Guru


Joined: 14 Mar 2005
Posts: 468
Location: United States N.Y.

PostPosted: Tue May 31, 2005 2:46 pm    Post subject: Reply with quote

Heres the "resiserfsck" that I ran on the partition:
Code:
reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will read-only check consistency of the filesystem on /dev/hda3
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Mon Aug  4 05:23:32 2014
###########
Replaying journal..
Reiserfs journal '/dev/hda3' in blocks [18..8211]: 0 transactions replayed
Checking internal tree..finished
Comparing bitmaps..finished
Checking Semantic tree:
finished
No corruptions found
There are on the filesystem:
        Leaves 79221
        Internal nodes 533
        Directories 32330
        Other files 355266
        Data block pointers 745672 (70 of them are zero)
        Safe links 0
###########
reiserfsck finished at Mon Aug  4 05:29:16 2014
###########
cfdisk also doesn't mind reading it:
Code:
                                  cfdisk 2.11z

                              Disk Drive: /dev/hda
                        Size: 40020664320 bytes, 40.0 GB
              Heads: 16   Sectors per Track: 63   Cylinders: 77545

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    hda1                    Primary   Linux swap                         128.51
    hda2        Boot        Primary   Linux ReiserFS                     100.64
    hda3                    Primary   Linux ReiserFS                   39791.52









     [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]
     [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]

                 Toggle bootable flag of the current partition

_________________
<< ^ | ~ >>
Back to top
View user's profile Send private message
pdr
l33t
l33t


Joined: 20 Mar 2004
Posts: 618

PostPosted: Tue May 31, 2005 2:50 pm    Post subject: Reply with quote

Kinda obvious, but sometimes it happens... did you rebuild the kernel since last boot? If so, did you select reiserfs to be compiled into the kernel? This is, of course, only applicable if you have not mounted /lib/modules before getting the read error...
Back to top
View user's profile Send private message
rutski89
Guru
Guru


Joined: 14 Mar 2005
Posts: 468
Location: United States N.Y.

PostPosted: Tue May 31, 2005 2:56 pm    Post subject: Reply with quote

Yup, its happned to me before, and IIRC a different error shows up at boot and the kernel panics. Heres some extra prof:
Code:
 Linux Kernel v2.6.11-xbox Configuration
 ──────────────────────────────────────────────────────────────────────────────
  ┌───────────────────────────── File systems ──────────────────────────────┐
  │  Arrow keys navigate the menu.  <Enter> selects submenus --->.          │
  │  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, │
  │  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> │
  │  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       │
  │ ┌─────────────────────────────────────────────────────────────────────┐ │
  │ │    <*> Second extended fs support                                   │ │
  │ │    [ ]   Ext2 extended attributes                                   │ │
  │ │    <M> Ext3 journalling file system support                         │ │
  │ │    [*]   Ext3 extended attributes                                   │ │
  │ │    [ ]     Ext3 POSIX Access Control Lists                          │ │
  │ │    [ ]     Ext3 Security Labels                                     │ │
  │ │    [ ] JBD (ext3) debugging support                                 │ │
  │ │    <*> Reiserfs support                                             │ │
  │ │    [ ]   Enable reiserfs debug mode                                 │ │
  │ │    [*]   Stats in /proc/fs/reiserfs                                 │ │
  │ └────┴(+)─────────────────────────────────────────────────────────────┘ │
  ├─────────────────────────────────────────────────────────────────────────┤
  │                    <Select>    < Exit >    < Help >                     │
  └─────────────────────────────────────────────────────────────────────────┘



_________________
<< ^ | ~ >>
Back to top
View user's profile Send private message
wippie
n00b
n00b


Joined: 27 Apr 2004
Posts: 62

PostPosted: Thu Jun 02, 2005 8:57 am    Post subject: Reply with quote

perhaps you just forgot kernel support for your ide chipset. no chipset, no /dev/hda3..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum