savannah-hackers-public
[Top][All Lists]
Advanced

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

[Savannah-hackers-public] Re: [gnu.org #498996] Hard-disk failures on co


From: Sylvain Beucler
Subject: [Savannah-hackers-public] Re: [gnu.org #498996] Hard-disk failures on colonialone
Date: Wed, 2 Dec 2009 16:41:44 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Dec 02, 2009 at 10:17:14AM -0500, Daniel Clark via RT wrote:
> > This one (Dec6 7pm/1am UTC) is the only one when I'm available (and
> > awake renough :)).
> 
> Cool, I'll try to get to GNAPS by 7pm this Sunday (shouldn't be a
> problem unless there is a cooking disaster :-)

:)

> As mentioned on IRC using the grub shell worked for me on the laptop
> when install-grub did not. This also seems to be echoed by some doc, eg:
> 
> http://wiki.archlinux.org/index.php/GRUB#Installing_to_the_MBR

Yes, I just did that to force using the current /dev/sdc, using a
alternate device.map.


colonialone:~# cat /boot/grub/device.map-next
(hd0)          /dev/sdc
(hd1)          /dev/sdd
(hd2)          /dev/sde
(hd3)          /dev/sdf
(hd4)          /dev/sda
(hd5)          /dev/sdb

colonialone:~# grub --device-map /boot/grub/device.map


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

       [ Minimal BASH-like line editing is supported.   For
         the   first   word,  TAB  lists  possible  command
         completions.  Anywhere else TAB lists the possible
         completions of a device/filename. ]
grub> root (hd0,0)
root (hd0,0)
 Filesystem type is ext2fs, partition type 0xfd
grub> setup (hd0)
setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd0)"...  17 sectors are embedded.
succeeded
 Running "install /grub/stage1 (hd0) (hd0)1+17 p (hd0,0)/grub/stage2 
/grub/menu.lst"... succeeded
Done.
grub> setup (hd1)
setup (hd1)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd1)"...  17 sectors are embedded.
succeeded
 Running "install /grub/stage1 d (hd1) (hd1)1+17 p (hd0,0)/grub/stage2 
/grub/menu.lst"... succeeded
Done.
grub> setup (hd2)
setup (hd2)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd2)"...  17 sectors are embedded.
succeeded
 Running "install /grub/stage1 d (hd2) (hd2)1+17 p (hd0,0)/grub/stage2 
/grub/menu.lst"... succeeded
Done.
grub> setup (hd3)
setup (hd3)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd3)"...  17 sectors are embedded.
succeeded
 Running "install /grub/stage1 d (hd3) (hd3)1+17 p (hd0,0)/grub/stage2 
/grub/menu.lst"... succeeded
Done.

colonialone:~# grub-install /dev/sda
Searching for GRUB installation directory ... found: /boot/grub
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)  /dev/sda
(hd1)  /dev/sdb
(hd2)  /dev/sdc
(hd3)  /dev/sdd
(hd4)  /dev/sde
(hd5)  /dev/sdf
colonialone:~# grub-install /dev/sdb
Searching for GRUB installation directory ... found: /boot/grub
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)  /dev/sda
(hd1)  /dev/sdb
(hd2)  /dev/sdc
(hd3)  /dev/sdd
(hd4)  /dev/sde
(hd5)  /dev/sdf

-- 
Sylvain




reply via email to

[Prev in Thread] Current Thread [Next in Thread]