Re: My Machine Won't Boot



On Friday 17 February 2006 12:27, Rejean Proulx wrote:
I reinstalled my entire system and now have a kernel and grub, but the
machine won't get passed the device listing. It is as if it can't
figure out where to boot from. The boot order is correct in the bios.
It is as if there is no MBR on /dev/sda? Any suggestions?

I looked at my other linux computer which is Debian. the only
difference I can see is that my other computer has
root (hd0,1) on working computer and
root (hd0,0) on the broken machine. What does that number to the
right of the comma mean? How do you fix an MBR?

Decoded into readable language, the ,0 is the partition number of the (0
in this case, first disk. First partition of the second disk would be
(1,0) etc

----- Original Message -----
From: <akonstam@xxxxxxxxxxx>
To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
Sent: Monday, February 13, 2006 10:14 AM
Subject: Re: Installing Grub And A Kernel

On Sun, Feb 12, 2006 at 10:35:30500, Jim Cornette wrote:
Rejean Proulx wrote:
I need to reinstall my kernel and grub using the rescue cd or the
rescue option on the install dvd for fc4. I tried the command
grub-install but it
won't install grub because the kernel hasn't changed. There is no
kernel on
md0. How do I make it install the kernel again. I am trying to fix
my boot
partition to get it to boot.

As there is no screen reader on the fc4 dvd, it is difficult for
me to search the cd as I must get my wife to read the screens.
Sure wish speakup
was on that cd.

Is there a documented list of tools and scripts documented
somewhere for the
rescue process?

Rejean Proulx
Visit my family at
http://interfree.ca
MSN is:
rejean@xxxxxxxxxxxx

The rescue CD should contain tools to make recovery easier for all.

Anyway, I believe you want to enter Linux rescue. Next you want to
chroot /mnt/sysimage.
You also want be sure that you have the /boot partition on your
system mounted. This should have become detected by the rescue mode
entry. However, since you do not have a kernel installed, you might
need to mount the boot partition. Usually you will have a
/mnt/sysimage for your root partition and another
/mnt/sysimage/boot partition before you chroot to /mnt/sysimage.

List of tasks you need to do.
- Get into rescue mode and chroot to /mnt/sysimage.
- Ensure that you have your /boot partition mounted.
- Change to the RPMS directory or a directory which contains the
kernel that you want to install.
- Install the desired kernel RPM with rpm -ivh
- check /etc/grub.conf to see if it contains information for the
kernel. - run grub-install /dev/<my-boot-drive>
- reboot

I hope this advise helps.

This is ok as far as it goes but grub-install sometimes does not
work in situations such as this. The you do this.
Once you have chroot-ed and checked the grub.conf then run the
following:
grub
grub> root (hd0,0)
grub> setup (hd0)
grub> quit

Of course the hd0 and hd0.0 depend on where you want to put the MBR.
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
telephone: (210)-999-7484

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

--
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules. I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Reinstallation erases all?
    ... W2 is active on C and only visible in PM and install. ... I'll take a look at Paragon as are in that Boot CD I linked to. ... Active partition status to the partition that it was on before this mess ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: No boot and no administrator password!
    ... You'll need a new partition, ... file ownership and permissions supersede administrator rights. ... > I cannot do a clean install and lose all my data knowing> that there is an 'unconventional' way past this problem. ... Boot the system, start> tapping F8, when>>the menu appears, select "Last Known Good Configuration,"> press enter and>>see if that resolves it. ...
    (microsoft.public.windowsxp.accessibility)
  • Re: How to change Dual Boot to Single Boot?
    ... Be aware that Microsoft use the term boot partition for the partition where ... primary active partition (where the boot sector and files required to start ... If you want the partition gone and Windows ... To do a clean install, either boot the Windows 2000 install CD-Rom or setup ...
    (microsoft.public.win2000.general)
  • Re: win-motherboard
    ... > install Master Booter and it would not install. ... This sounds like you have been able to load the kernel, ... the partition containing /etc/inittab and /sbin/init). ... Then there is the partition containing the root file system. ...
    (comp.os.linux.setup)
  • Re: Will Windows XP Upgrade Help Me?
    ... As for the cleaning you mention, that sounds like mechanical cleaning, such ... Using either a boot floppy or a bootable CD, ... if all you want is one big C:\ partition. ... Install your favorite operating system. ...
    (microsoft.public.windowsxp.general)