FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-25-2008, 04:51 AM
"Rafael Fontenelle"
 
Default Fwd: switch from LILO to grub failed

---------- Forwarded message ----------
From: Rafael Fontenelle <rffontenelle@gmail.com>
Date: 25/04/2008 01:50

Subject: Re: switch from LILO to grub failed
To: Fabrizio Lippolis <fabrizio.lippolis@aurigaspa.com>

2008/4/23, Fabrizio Lippolis <fabrizio.lippolis@aurigaspa.com>:






I have switched the boot manager from LILO to grub, I have purged the
lilo package and installed the grub package. Moreover I have run the
command



grub-install /dev/cciss/c0d0p1



I know I was wrong, and actually the machine no longer boots. When I
try to boot from the disk I see an error like this:



L 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99 99
99 ...



I have managed to boot from SysRescCd because the installation cd
doesn't recognize the disk, mounted the root partition in a directory
/mydir, it contains the boot directory too. Then I have run



grub-install --root-directory=/mydir /dev/cciss/c0d0



to install in the MBR. Seems that grub gets installed but the machine
still doesn't boot from disk, I get the same error as before. Any help
please?





--



-----------------------------------------------------------------------

Fabrizio Lippolis

phone +39.080.56.92.291

e-mail fabrizio.lippolis@aurigaspa.com



-----------------------------------------------------------------------

Auriga SpA - Strada Vassallo, 1 - 70125
Bari - IT

Phone +39.080.56.92.111 -
Fax +39.080.56.92.112

www.aurigaspa.com – info@aurigaspa.com



-----------------------------------------------------------------------

Ai sensi del D.Lgs.
196/2003 si precisa che le informazioni contenute in questo messaggio
sono riservate ed a uso esclusivo del destinatario. Qualora il presente
messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo
senza copiarlo e inoltrarlo a terzi, dandocene gentilmente
comunicazione. Grazie.




Pursuant to Legislative
Decree No. 196/2003, you are hereby informed that this message contains
confidential information intended only for the use of the addressee. If
you are not the addressee, and have received this message by mistake,
please delete it and immediately notify us. You may not copy or
disseminate this message to anyone. Thank you.






Hi Fabrizio

Is /dev/cciss/c0d0 an HD or partition? What is /dev/cciss/c0d0p1? I couldn't get very well this names..

Did you try this:

1- 'chroot /mydir /bin/bash' when you are in SysRescueCD environment so you can run the shell as if you were in you system; and


2- 'grub-install /dev/hda' to install grub in the MBR of 'hda' (hda is an example. Use your own device name).

Cheers,

Rafael
 
Old 04-28-2008, 09:21 AM
Fabrizio Lippolis
 
Default Fwd: switch from LILO to grub failed

Rafael Fontenelle ha scritto:
Hi Fabrizio



Is /dev/cciss/c0d0 an HD or partition? What is /dev/cciss/c0d0p1? I
couldn't get very well this names..




Hi Rafael, /dev/cciss/c0d0 is a disk and /dev/cciss/c0d0p1 is the first
partition on that disk containing the root filesystem, included the
/boot directory. The machine has a SCSI RAID controller.





Did you try this:



1- 'chroot /mydir /bin/bash' when you are in SysRescueCD environment so
you can run the shell as if you were in you system; and

2- 'grub-install /dev/hda' to install grub in the MBR of 'hda' (hda is
an example. Use your own device name).




Thank you, I will try as you say, I have no /dev/hda because I have no
IDE disks. The equivalent of what you say should be /dev/cciss/c0d0, I
will let you know.



Regards,



--

Auriga s.p.a.

-----------------------------------------------------------------------

Fabrizio Lippolis

phone +39.080.56.92.291

e-mail fabrizio.lippolis@aurigaspa.com

-----------------------------------------------------------------------

Auriga SpA - Strada Vassallo, 1 - 70125
Bari - IT

Phone +39.080.56.92.111 -
Fax +39.080.56.92.112

www.aurigaspa.com ? info@aurigaspa.com

-----------------------------------------------------------------------

Ai sensi del D.Lgs.
196/2003 si precisa che le informazioni contenute in questo messaggio
sono riservate ed a uso esclusivo del destinatario. Qualora il presente
messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo
senza copiarlo e inoltrarlo a terzi, dandocene gentilmente
comunicazione. Grazie.




Pursuant to Legislative
Decree No. 196/2003, you are hereby informed that this message contains
confidential information intended only for the use of the addressee. If
you are not the addressee, and have received this message by mistake,
please delete it and immediately notify us. You may not copy or
disseminate this message to anyone. Thank you.
 

Thread Tools




All times are GMT. The time now is 12:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org