[LBo] Grub wont come up
Rafi Gabzu
rafi.gabzu at gmail.com
Tue Feb 27 18:23:22 CET 2007
What is "System Rescue CD [1] for repair and rescue operations" where do I
get it from , Debian ?
What is sysimage in "/mnt/sysimage" ... ?
Thanks,
Rafi
On 2/26/07, Goksin Akdeniz <goksin at enixma.org> wrote:
>
> > I'm running Debian, the partition I used is PartitionMagic.
> Hi Rafi, here is my way of system repair. I hope it works for you:
>
> You resized partitions therefore you'd better check the partiton with a
> rescue
> cd.
>
> I suggest System Rescue CD [1] for repair and rescue operations. Boot your
> PC
> with it. Then mount the / partition as follows:
>
> mount -t ext3 /dev/XdaY /mnt/sysimage
>
> XdaY is simply; X is your harddrive and Y is partition such hda1 or so
>
> For IDE primary master is hda
> For SATA primary master sda
>
> Change root to /mnt/sysimge. Ext3 is an journalised file system and after
> partition resizing, it makes sense to check "/" partition.
>
> e2fsck -C0 -p -f -v /dev/XdaY
>
> Running e2fsck with options stated up, it will fix all errors if detected,
> run
> in verbose mode and display a status bar on the terminal.
>
> When all is done time for GRUB reinstall. Grub has a shell. So to start
> grub
> shell type "grub" so grub shell will invoke. To finde stage 1 type
>
> find /boot/grub/stage1
>
> It will respond like XdaY, so next step is to tell grub where the / is
>
> root (hdX,0)
> setup (hdX)
>
> This will install GRUB to your selected harddrive MBR
>
> I hope it works.
> --
> Goksin Akdeniz
>
> www.enixma.org
> www.linuxnet.com.tr
>
> --
> QnA mailing list - To post: QnA at linuxbasics.org
> Site: http://LinuxBasics.org
> List-options: http://LinuxBasics.org/cgi-bin/mailman/listinfo/qna
>
>
More information about the QnA
mailing list