[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't rescue, read-only filesystem



Morgan Fletcher wrote:
  >>   boot: rescue root=/dev/hda3 init=/bin/sh
  >> 
  >> This will put you straight into a shell, with no other utilities running.
  >
  >Unfortunately, the same thing happens. It is as if the init=/bin/sh
  >argument is ignored. 

In that case you need to boot from an installation disk as though you were
going to install from scratch.

Go through the initial stages: select colour, keyboard
Do not let the installation partition your disk, instead mount the
existing partitions.

Once you have got that far, switch to /dev/tty2 (Alt + F2) and do this

# cd /target            (or maybe /mnt  --  i can't check that at the moment)

# ls should show you the contents of your root partition on the hard disk

# sbin/lilo -r /target

go back to screen 1 and choose reboot
-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "I am crucified with Christ; nevertheless I live; yet 
      not I, but Christ liveth in me; and the life which I 
      now live in the flesh I live by the faith of the Son 
      of God, who loved me, and gave himself for me."       
                                 Galatians 2:20 




Reply to: