bootloader error

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

bootloader error

Postby ummi » Nov 19th, '12, 13:41

I am unsure whether I am having a win or not when my first problem was error 15 and now it is 8, but nonetheless....

I am not able to access menu.1st or fstab.

Code: Select all
[root@localhost live]# fdisk -l

Disk /dev/sda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders, total 78140160 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x34fe34fd

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63      626534      313236   83  Linux
/dev/sda2          626535    78140159    38756812+   5  Extended
/dev/sda5          626598    13141169     6257286   83  Linux
/dev/sda6        13141233    17446589     2152678+  82  Linux swap / Solaris
/dev/sda7        17446653    48917924    15735636   83  Linux
/dev/sda8        48917988    78140159    14611086   83  Linux

Code: Select all
grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0x83


Code: Select all
grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/e2fs_stage1_5" exists... yes
 Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  17 sectors are embedded.
succeeded
 Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,0)/boot/grub/stage2
/boot/grub/menu.lst"... succeeded
Done.


I do note that when I was trying to fix error 15 there was no /dev/sda2 and now there is....either way I am snookered at the moment and running out of ideas

Thanx

Michael
Last edited by isadora on Nov 19th, '12, 14:01, edited 1 time in total.
Reason: Placing output between code-tags, to keep the forum readable ;)
ummi
 
Posts: 4
Joined: Jan 22nd, '12, 05:07

Re: bootloader error

Postby gohlip » Nov 19th, '12, 20:45

Code: Select all
[root@localhost live]# grub
grub> find  /boot/grub/stage1
grub> root (hd0,x)
grub> setup  (hd0,x)
quit
exit


eg.. if output of find /boot/grub/stage1 gives (hd0,0), then use
Code: Select all
[root@localhost live]# grub
grub> find  /boot/grub/stage1
grub> root (hd0,0)
grub> setup  (hd0,0)



ps : to access menu.lst/fstab at livecd, need to mount partition first.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest