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 > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-09-2008, 12:22 PM
"Paulo Cavalcanti"
 
Default grub problem

On Feb 9, 2008 11:03 AM, don vogt <donvogt2001@yahoo.com> wrote:


I am stuck in a pretty complete disaster and grub
won't help me out of it. It is a long story, but here
is a summary
I bought a pci/USB2.0 card with the idea of digitizing
some slides.
I installed the card and after that fc7 wouldn't read

the card. So I rebooted into XP to see if it would
work there.XP started to boot and about 8 seconds
later the display changed to a blue screen with an
incomprohensible error message and froze.
*I use the XP system to access some sites that won't

work with linux, so I reinstalled XP (not a pleasant
experience!). I knew that would trash my grub setup on
the MBR, but I thought I knew how to redo grub from my
fc7 livecd.

The method I tried was to run grub and enter

find /grub/grub.conf
it answered (hd0,1) *(which is my /boot partition)
I entered * root (hd0,1)
no answer, just the prompt back
I entered setup (hd0)
it answered with some comments about searching for
some stage files. it found stages 1,2,and1.5

then it said "Running imbed /grub/e2fs-stage1_5 (hd0)
15 sectors asre embedded succeeded"
then it said install /grub/stage1 (hd0) (hd0)1+15
(hd0,1)/grub/stage2 grub.conf *succeeded "
*That all looks good to me so I backed out and

rebooted without the CD.
Instead of the grub menu I get a little trash and a
lot of blank screen.

I downloaded the rescuecd iso, burned it and booted
that and tried the same thing with the same result.


Here is my grub.conf in case it helps.



# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making
changes to this file
# NOTICE: *You have a /boot partition. *This means

that
# * * * * *all kernel and initrd paths are relative to
/boot/, eg.
# * * * * *root (hd0,1)
# * * * * *kernel /vmlinuz-version ro
root=/dev/VolGroup00/LogVol00
# * * * * *initrd /initrd-version.img

boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,1)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.23.14-64.fc7)

* * * *root (hd0,1)
* * * *kernel /vmlinuz-2.6.23.14-64.fc7 ro root=LABEL=main


* * * *initrd /initrd-2.6.23.14-64.fc7.img

title Fedora (2.6.23.12-52.fc7)

* * * *root (hd0,1)
* * * *kernel /vmlinuz-2.6.23.12-52.fc7 ro root=LABEL=main

* * * *initrd /initrd-2.6.23.12-52.fc7.img


title WIN98
* * * *rootnoverify (hd0,0)
* * * *chainloader +1
title XP
* * * *rootnoverify (hd1)
* * * *map (hd0) (hd1)
* * * *map (hd1) (hd0)
* * * *chainloader +1


Can Anyone see what I am doing wrong or have another

suggestion on how to get grub fixed.


Boot using the installation* DVD.* Choose* repair* installation (or something similar, I do not remember).

At the prompt, type:


chroot /mnt/sysimage

grub-install /dev/hda


--
Paulo Roma Cavalcanti
LCG - UFRJ
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 02-09-2008, 02:04 PM
don vogt
 
Default grub problem

Boot using the installation DVD. Choose repair
installation (or
something similar, I do not remember).

At the prompt, type:

chroot /mnt/sysimage

grub-install /dev/hda


Thank you! Thank you!
I had to use the rescue disk because I don't have a
cd burmer, but it worked the same way. Earlier I tried
to use that install script and I was using the chroot,
but I don't think I put them togeather. Now I can go
get some sleep

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 11-08-2008, 07:22 PM
"Bela Balazs"
 
Default Grub problem

Hello all.
I installed Debian, but the installer failed to install grub.
I also have Ubuntu, so I installed grub manually by chrooting to the Debian partition.The two systems are installed on separate disks.
Debian is installed on a SATA disk.I didn't have a Sata controller on the motherboard so I had used a PCI SATA card.My bios can't boot on that disk (not sure why).

My only option to boot Debian is trough Ubuntu's grub.So I copied the two entries from Debian's menu.lst to Ubuntu's,but when I select Debian in the menu I get an error:* "Could not mount selected partition" (or something similar).I've also tried reinstalling grub from Rescue mode on the Debian DVD, but no luck.


The two menu.lst entries:

*title********** Debian GNU/Linux, kernel 2.6.24-1-686
root*********** (hd0,1)
kernel********* /boot/vmlinuz-2.6.24-1-686 root=UUID=5dd1a349-c311-40ca-82f4-a7a39ca134a3 ro
initrd********* /boot/initrd.img-2.6.24-1-686


title********** Debian GNU/Linux, kernel 2.6.24-1-686 (single-user mode)
root*********** (hd0,1)
kernel********* /boot/vmlinuz-2.6.24-1-686 root=UUID=5dd1a349-c311-40ca-82f4-a7a39ca134a3 ro single
initrd********* /boot/initrd.img-2.6.24-1-686



I tried changing the UUID to /dev/sda2 but still no luck.
I'm sure that Debian is installed on that partition (I know from fdisk -l in Ubuntu).

Ubuntu is installed on (hd0,2).

Please help.Thanks.
 
Old 11-08-2008, 08:47 PM
Thierry Chatelet
 
Default Grub problem

On Saturday 08 November 2008 21:22:15 Bela Balazs wrote:
> Hello all.
> I installed Debian, but the installer failed to install grub.

Did it fail or din"t propose?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-08-2008, 09:03 PM
Sjoerd Hiemstra
 
Default Grub problem

Op Sat, 8 Nov 2008 22:22:15 +0200 Bela Balazs wrote:
> The two menu.lst entries:
>
> title Debian GNU/Linux, kernel 2.6.24-1-686
> root (hd0,1)
> kernel /boot/vmlinuz-2.6.24-1-686
> root=UUID=5dd1a349-c311-40ca-82f4-a7a39ca134a3 ro
> initrd /boot/initrd.img-2.6.24-1-686
>
> [...]
>
> I tried changing the UUID to /dev/sda2 but still no luck.
> I'm sure that Debian is installed on that partition (I know from
> fdisk -l in Ubuntu).

I believe 'root (hd0,1)' should be 'root (sd0,1)'.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-08-2008, 09:40 PM
"Boyd Stephen Smith Jr."
 
Default Grub problem

On Saturday 08 November 2008 16:03, Sjoerd Hiemstra wrote:
> Op Sat, 8 Nov 2008 22:22:15 +0200 Bela Balazs wrote:
> > The two menu.lst entries:
> >
> > title Debian GNU/Linux, kernel 2.6.24-1-686
> > root (hd0,1)
> > kernel /boot/vmlinuz-2.6.24-1-686
> > root=UUID=5dd1a349-c311-40ca-82f4-a7a39ca134a3 ro
> > initrd /boot/initrd.img-2.6.24-1-686
> >
> > [...]
> >
> > I tried changing the UUID to /dev/sda2 but still no luck.
> > I'm sure that Debian is installed on that partition (I know from
> > fdisk -l in Ubuntu).
>
> I believe 'root (hd0,1)' should be 'root (sd0,1)'.

ALL GRUB hard drives are (hd?) and ALL GRUB partitions are (hd?,?). "(sd0,1)"
is simply a filename to grub, and therefore not a valid argument to
the "root" command.

Do you have a separate partition for /boot or not? That looks valid for /boot
stored on the same partition as /, but you may need to change it if
your /boot is a separate partition.

If your BIOS can't boot from the disk, grub might have problems as well. I
tought grub could only see BIOS devices.

What devices does grub see? Try "(hd<TAB><TAB>" at the "grub> " prompt from
the grub boot menu.

Can grub find your kernel on any device? Try "find /vmlinuz-2.6.24-1-686"
and "find /boot/vmlinuz-2.6.24-1-686" from that same prompt.
--
Boyd Stephen Smith Jr. * * * * * * * * * * ,= ,-_-. =.
bss03@volumehost.net * * * * * * * * * * *((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy * * * * * `-'(. .)`-'
http://iguanasuicide.org/ * * * * * * * * * * *\_/ * *
 
Old 11-08-2008, 10:33 PM
"Douglas A. Tutty"
 
Default Grub problem

On Sat, Nov 08, 2008 at 10:22:15PM +0200, Bela Balazs wrote:
> Hello all.
> I installed Debian, but the installer failed to install grub.

I have that problem whenever I install Etch: the installer says its
installing Etch but it doesn't. I end up rebooting the installer in
rescue mode and doing it from the menus again.

> I also have Ubuntu, so I installed grub manually by chrooting to the Debian
> partition.The two systems are installed on separate disks.
> Debian is installed on a SATA disk.I didn't have a Sata controller on the
> motherboard so I had used a PCI SATA card.My bios can't boot on that disk
> (not sure why).

I don't know if your bios can boot a kernel on a drive from which it
can't boot, even if it can load grub. You may need to put a 64 MB
partition on the Ubuntu disk and use that for Debian's /boot.

> My only option to boot Debian is trough Ubuntu's grub.

Remember that you'll have to manually update the boot loader every time
you update debian's kernel.

> So I copied the two
> entries from Debian's menu.lst to Ubuntu's,but when I select Debian in the
> menu I get an error: "Could not mount selected partition" (or something
> similar).I've also tried reinstalling grub from Rescue mode on the Debian
> DVD, but no luck.
>

See above re booting from a disk that the bios can't boot.

Is the "Could not mount" error coming from grub (e.g. couldn't find the
kernel) or from the kernel (e.g. couldn't find the root partition).

> The two menu.lst entries:
>
> title Debian GNU/Linux, kernel 2.6.24-1-686
> root (hd0,1)
> kernel /boot/vmlinuz-2.6.24-1-686
> root=UUID=5dd1a349-c311-40ca-82f4-a7a39ca134a3 ro
> initrd /boot/initrd.img-2.6.24-1-686
>
> title Debian GNU/Linux, kernel 2.6.24-1-686 (single-user mode)
> root (hd0,1)
> kernel /boot/vmlinuz-2.6.24-1-686
> root=UUID=5dd1a349-c311-40ca-82f4-a7a39ca134a3 ro single
> initrd /boot/initrd.img-2.6.24-1-686
>
>

I'd go to the grub command promt and try entering things manually, using
grub's tab-completion to ensure that devices are correct. For example,
should root be (sd0,1)?


> I tried changing the UUID to /dev/sda2 but still no luck.
> I'm sure that Debian is installed on that partition (I know from fdisk -l in
> Ubuntu).
>
> Ubuntu is installed on (hd0,2).

Booting issues are where a serial console (or logging the output
directly to a printer on lp0) is very helpful. You can see the
serial-console HOWTO for how to set that up, as well as the grub manual
for how to have grub talk to a serial console.

Doug.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 11-09-2008, 12:04 AM
Tzafrir Cohen
 
Default Grub problem

On Sat, Nov 08, 2008 at 11:03:48PM +0100, Sjoerd Hiemstra wrote:
> Op Sat, 8 Nov 2008 22:22:15 +0200 Bela Balazs wrote:
> > The two menu.lst entries:
> >
> > title Debian GNU/Linux, kernel 2.6.24-1-686
> > root (hd0,1)
> > kernel /boot/vmlinuz-2.6.24-1-686
> > root=UUID=5dd1a349-c311-40ca-82f4-a7a39ca134a3 ro
> > initrd /boot/initrd.img-2.6.24-1-686
> >
> > [...]
> >
> > I tried changing the UUID to /dev/sda2 but still no luck.
> > I'm sure that Debian is installed on that partition (I know from
> > fdisk -l in Ubuntu).
>
> I believe 'root (hd0,1)' should be 'root (sd0,1)'.

No. Grub only calls disks "hd". It has not heard of "soft-disk" :-)

--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-04-2011, 11:22 AM
"Bruno Martins - GALILEU LISBOA"
 
Default GRUB problem

Hello everyone,

*

I’m having problems with booting Fedora 14 X64 after I clone the hard disk with Clonezilla.

*

Disk imaging goes nices until it reaches the end, when it tries to reinstall GRUB on the target hard disk. It hangs, but I can boot that disk one time. Once the machine is restarted, I lose the boot loader.

*

Tried to repair it through Fedora Live CD following this guide - http://ubuntuforums.org/showthread.php?t=845741*-, but it hangs on “GRUB Loading, please wait…”.

*

Any ideas on why is this happening?

*

Thanks!

*

Best regards,





Bruno Martins
Assistente Técnico / Technical Assistant
GALILEU Lisboa
bmartins@galileu.pt
(+351) 213612222

(+351) 933612205


*









*


*





Formação / Training
Açores | Algarve | Aveiro | Beja | Braga | Leiria | Lisboa | Porto


Educação / Education
Escola Profissional Ruiz Costa


Consulting
GALILEU Consulting

*





*



*www.galileu.pt**www.galileu.pt**www.galileu. pt**www.galileu.pt**www.galileu.pt**www.gali leu.pt**www.galileu.pt*



*

*





GALILEU Lisboa


*


Alcântara Rio
Rua Fradesso da Silveira, 6 - Bloco C - 1º A/B******1300-609 LISBOA - Portugal
Tel: +351 21 3612200***Fax: +351 21 3612238

*

*
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 07-04-2011, 03:02 PM
Antonio Olivares
 
Default GRUB problem

--- On Mon, 7/4/11, Bruno Martins - GALILEU LISBOA <bmartins@galileu.pt> wrote:

From: Bruno Martins - GALILEU LISBOA <bmartins@galileu.pt>
Subject: GRUB problem
To: users@lists.fedoraproject.org
Date: Monday, July 4, 2011, 4:22 AM










Hello everyone,
*
I’m having problems with booting Fedora 14 X64 after I clone the hard disk with Clonezilla.
*
Disk imaging goes nices until it reaches the end, when it tries to reinstall GRUB on the target hard disk. It hangs, but I can boot that disk one time. Once the machine is restarted, I lose the boot loader.
*
Tried to repair it through Fedora Live CD following this guide - http://ubuntuforums.org/showthread.php?t=845741*-, but it hangs on “GRUB Loading, please wait…”.
*
Any ideas on why is this happening?
*
Thanks!
*
Best regards,
*



Bruno Martins
Assistente Técnico / Technical Assistant
GALILEU Lisboa
bmartins@galileu.pt
(+351) 213612222
(+351) 933612205







*


*

///

This is a bug with clonezilla since it uses grub 2 from debian testing:

http://comments.gmane.org/gmane.comp.sysutils.backup.clonezilla.live/1047

to remedy the problem you may use older version(s) of clonezilla or use alternative cd.

Regards,

Antonio


Formação / Training
Açores | Algarve | Aveiro | Beja | Braga | Leiria | Lisboa | Porto

Educação / Education
Escola Profissional Ruiz Costa

Consulting
GALILEU Consulting
*




*


*www.galileu.pt**www.galileu.pt**www.galileu. pt**www.galileu.pt**www.galileu.pt**www.gali leu.pt**www.galileu.pt*


*
*




GALILEU Lisboa

*

Alcântara Rio
Rua Fradesso da Silveira, 6 - Bloco C - 1º A/B******1300-609 LISBOA - Portugal
Tel: +351 21 3612200***Fax: +351 21 3612238
*
*
-----Inline Attachment Follows-----

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 02:47 AM.

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