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 08-09-2012, 11:55 AM
Muhammad Yousuf Khan
 
Default debian 6.0.5 ISO installation issue. GRUB .. file not found

i just installed debian from 6.0.5 amd64 net CD. with basic options.

installation went fine but in first boot. shows me this

Welcome to GRUB
error : file not found
grub rescue>

and now i dont know what to do in rescue mode. since this is my first
time that i am facing this issue so kindly help.

Thanks,


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAGWVfM=k4cF_WB00evgXXQZWapPjoTfJ9xLV1DkQVyvQ_kN_o Q@mail.gmail.com
 
Old 08-09-2012, 12:06 PM
Brian
 
Default debian 6.0.5 ISO installation issue. GRUB .. file not found

On Thu 09 Aug 2012 at 16:55:23 +0500, Muhammad Yousuf Khan wrote:

> i just installed debian from 6.0.5 amd64 net CD. with basic options.
>
> installation went fine but in first boot. shows me this
>
> Welcome to GRUB
> error : file not found
> grub rescue>

You installed GRUB to the MBR of the first hard disk?

> and now i dont know what to do in rescue mode. since this is my first
> time that i am facing this issue so kindly help.

Please post the output of the command 'ls -l'


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120809120633.GK6660@desktop
 
Old 08-09-2012, 02:53 PM
Arno Schuring
 
Default debian 6.0.5 ISO installation issue. GRUB .. file not found

Muhammad Yousuf Khan (sirtcp@gmail.com on 2012-08-09 16:55 +0500):
> i just installed debian from 6.0.5 amd64 net CD. with basic options.
>
> installation went fine but in first boot. shows me this
>
> Welcome to GRUB
> error : file not found
> grub rescue>

If memory serves me right, you need to
rescue> set root=(hd0,1)

Assuming that /boot is a separate partition, created as /dev/sda1.
Season to taste. The grub shell has tab-completion, not sure if the
rescue shell has the same. If the installer created one single
partition, you may also need
rescue> set prefix=($root)/boot/grub

rescue> insmod normal
rescue> normal

And from there the regular grub commands (linux, initrd) should work.
There may also be a command to start the menu from there (insmod
gfxmenu?).

An easier but slower solution is to boot again from the installation
disc, start a rescue shell and re-run grub-install and update-grub.

Regards,
Arno


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120809165340.4d3f043b@viper.intra.loos.site">htt p://lists.debian.org/20120809165340.4d3f043b@viper.intra.loos.site
 
Old 08-09-2012, 07:32 PM
Muhammad Yousuf Khan
 
Default debian 6.0.5 ISO installation issue. GRUB .. file not found

On Thu, Aug 9, 2012 at 5:06 PM, Brian <ad44@cityscape.co.uk> wrote:
> On Thu 09 Aug 2012 at 16:55:23 +0500, Muhammad Yousuf Khan wrote:
>
>> i just installed debian from 6.0.5 amd64 net CD. with basic options.
>>
>> installation went fine but in first boot. shows me this
>>
>> Welcome to GRUB
>> error : file not found
>> grub rescue>
>
> You installed GRUB to the MBR of the first hard disk?
if you mean the grub installation ask to install grub in /dev/sda .
then yes i did and it was installed with no errors.
>
>> and now i dont know what to do in rescue mode. since this is my first
>> time that i am facing this issue so kindly help.
>
> Please post the output of the command 'ls -l'
ok ill post that next day from office.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20120809120633.GK6660@desktop
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAGWVfMmrdsBJfH+yrMsz6-L8Rdo7P=k2aCF=F7v=6_m6jEMX3w@mail.gmail.com
 
Old 08-09-2012, 07:48 PM
Muhammad Yousuf Khan
 
Default debian 6.0.5 ISO installation issue. GRUB .. file not found

ok ill perform the the said instructions next day in office. but let
me share you guys some of my partitions settings. that might help to
understand the scenario more clearly.

i have 2. 500GB of HD with raid1 set.fail-over to each other with boot support.

1. /boot (raid1)
2. Swap (raid1)
3. root on LVM on raid1.

so i have 3 raid devices and on 3rd one root Partition is on top of LVM

i am using the same procedure that i use to install with debian lenny
and old squeeze but this is the first time that it showed me this
error.

i think about the same as you suggested about using debian live CD and
install the grub manually. but there is no such command grub-install.
i found a command grub-installer. so i didnt knew how to use it.
please correct me if my limited knowledge leading me to a wrong
direction.


On Thu, Aug 9, 2012 at 7:53 PM, Arno Schuring <aelschuring@hotmail.com> wrote:
> Muhammad Yousuf Khan (sirtcp@gmail.com on 2012-08-09 16:55 +0500):
>> i just installed debian from 6.0.5 amd64 net CD. with basic options.
>>
>> installation went fine but in first boot. shows me this
>>
>> Welcome to GRUB
>> error : file not found
>> grub rescue>
>
> If memory serves me right, you need to
> rescue> set root=(hd0,1)
>
> Assuming that /boot is a separate partition, created as /dev/sda1.
> Season to taste. The grub shell has tab-completion, not sure if the
> rescue shell has the same. If the installer created one single
> partition, you may also need
> rescue> set prefix=($root)/boot/grub
>
> rescue> insmod normal
> rescue> normal
>
> And from there the regular grub commands (linux, initrd) should work.
> There may also be a command to start the menu from there (insmod
> gfxmenu?).
>
> An easier but slower solution is to boot again from the installation
> disc, start a rescue shell and re-run grub-install and update-grub.
>
> Regards,
> Arno
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20120809165340.4d3f043b@viper.intra.loos.site
>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CAGWVfMkADTQ=Uqm2XvPtZV9m4B7hSiVWFtPhpqi7YSUYPVrcj A@mail.gmail.com
 
Old 08-10-2012, 07:15 AM
Muhammad Yousuf Khan
 
Default debian 6.0.5 ISO installation issue. GRUB .. file not found

ok it is resolved, here is what i did. since the grub has mistakenly
installed on RAID drive (md0) and not on /dev/sda or /dev/sdb MBRs.
however i could not understand why is that happen. i am following the
same linux installation that i used to with old version it just happen
to me with 6.0.5. anyways this is what i did.

Grub rescue>ls (which showed me all the devices including RAID ones)
Grub rescue> ls (md/0)/ (and i found grub folder on root of md/0)
Grub rescue>set root=(md/0) ("/" was their so i add it)
Grub rescue>set prefix=(md/0)/grub
Grub rescue> insmod normal
Grub rescue> normal

when i reach the prompt after root password. i run grub-install /dev/sda
and
grub-install /dev/sdb so both devices could be used as failover.

i hope this helps others.

Thanks for the support Arno and Brian.

Thanks,


On Fri, Aug 10, 2012 at 12:48 AM, Muhammad Yousuf Khan <sirtcp@gmail.com> wrote:
> ok ill perform the the said instructions next day in office. but let
> me share you guys some of my partitions settings. that might help to
> understand the scenario more clearly.
>
> i have 2. 500GB of HD with raid1 set.fail-over to each other with boot support.
>
> 1. /boot (raid1)
> 2. Swap (raid1)
> 3. root on LVM on raid1.
>
> so i have 3 raid devices and on 3rd one root Partition is on top of LVM
>
> i am using the same procedure that i use to install with debian lenny
> and old squeeze but this is the first time that it showed me this
> error.
>
> i think about the same as you suggested about using debian live CD and
> install the grub manually. but there is no such command grub-install.
> i found a command grub-installer. so i didnt knew how to use it.
> please correct me if my limited knowledge leading me to a wrong
> direction.
>
>
> On Thu, Aug 9, 2012 at 7:53 PM, Arno Schuring <aelschuring@hotmail.com> wrote:
>> Muhammad Yousuf Khan (sirtcp@gmail.com on 2012-08-09 16:55 +0500):
>>> i just installed debian from 6.0.5 amd64 net CD. with basic options.
>>>
>>> installation went fine but in first boot. shows me this
>>>
>>> Welcome to GRUB
>>> error : file not found
>>> grub rescue>
>>
>> If memory serves me right, you need to
>> rescue> set root=(hd0,1)
>>
>> Assuming that /boot is a separate partition, created as /dev/sda1.
>> Season to taste. The grub shell has tab-completion, not sure if the
>> rescue shell has the same. If the installer created one single
>> partition, you may also need
>> rescue> set prefix=($root)/boot/grub
>>
>> rescue> insmod normal
>> rescue> normal
>>
>> And from there the regular grub commands (linux, initrd) should work.
>> There may also be a command to start the menu from there (insmod
>> gfxmenu?).
>>
>> An easier but slower solution is to boot again from the installation
>> disc, start a rescue shell and re-run grub-install and update-grub.
>>
>> Regards,
>> Arno
>>
>>
>> --
>> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> Archive: http://lists.debian.org/20120809165340.4d3f043b@viper.intra.loos.site
>>


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAGWVfMm48wFMs2r8K1qCiDe18aM5fDVW6Kd4KaeSdzQpq1Zna w@mail.gmail.com">http://lists.debian.org/CAGWVfMm48wFMs2r8K1qCiDe18aM5fDVW6Kd4KaeSdzQpq1Zna w@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 02:49 PM.

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