- To: "Mitchum Cox" <tmanroach@xxxxxxxxx>
- Subject: Re: [SLUG] GRUB reinstallation
- From: "Kristian Erik Hermansen" <kristian.hermansen@xxxxxxxxx>
- Date: Wed, 20 Feb 2008 12:07:56 -0800
- Cc: slug@xxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=BuY7Q+KuNBkO5cGqhsrDIDePCcUBQeq4q6LRRrxu2Gg=; b=JqL7TqLaeXPZEuunYJtFvEI17xKRqDlDGZcNCB+eS60lmsxScWZ4GS0pNal8ww17Hy2EShMRGePSXlhwxRAZB+JrtodBIlmp8lvwIceBczyrEt3k677wGumfm6Jrrjj0sc1NwMYfjL7nKQmpCGCz1Ik/gqUBGD9sO97Wei+ZWz0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Gegv2w7BNxglg3DkqFdf4RXT88M1HL8QIGKulADyQ1Uy8tqSbJOsC6Nh4DZi54i9zpwo3CQe4yvZfAR04e+IV/CUr/J28x6JtH71tKfY5E5JG1fNF1Bu24ijqONjjsqc0mV66eSRwV/Pb+vd1lXpV29sCrVci/lvcB6sgzyKQsM=
On Feb 20, 2008 4:30 AM, Mitchum Cox <tmanroach@xxxxxxxxx> wrote:
> #grub-install - Failed
>
> #grub
> >root (hd0,1)...bla bla bla
> - Failed
>
> #mount <linux partition>
> #chroot /media/sdb2
> #grub-install
> ...
> Now I did do my research and al lof the grub install / mbr recovery
> tutorials are the three things that I did. So I know you guys love a
> challenge....Can you help us out?
Did you try the find stage1 option in grub? Read this...
http://www.sorgonet.com/linux/grubrestore/
> The chroot option seems to be the best way to go, however whenever i
> chroot into the linux partition i only have one device in my /dev/ and
> thats sda. When I try to /etc/init.d/udev restart I get a couple of CP
> errors, and if i try again it fails. There is no /dev/.static folder
> for udev to read from (I assume thats what its for...)
You need to bind mount your /dev directory, and perhaps others as
well, in order to get them inside the chroot.
$ man mount
/bind
> Im well aware of the complete reformat option.......but I would much
> rather have that as the absolute last possible option. I hate it when
> i have to reconfigure things back to the way i like it. Its good to
> know this too =D
Reformatting is for fools. Soon you will be able to cut through GRUB
like a warrior and this will all seem quite easy for you to do in the
future :-) Good luck...
> GL guys, and thanks
>
> LINUX FOREVER
Yep...heh
--
Kristian Erik Hermansen
--
"It has been just so in all my inventions. The first step is an
intuition--and comes with a burst, then difficulties arise. This thing
gives out and then that--'Bugs'--as such little faults and
difficulties are called--show themselves and months of anxious
watching, study and labor are requisite before commercial success--or
failure--is certainly reached" -- Thomas Edison in a letter to
Theodore Puskas on November 18, 1878