Re: windows XP deleted bootloader,need to reinstall it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello...sorry for being late....
anyways,the output  of the fdisk -l command is as folows:
 
                  Boot      Start     End        Id            System
/dev/sda1       *         ....           ....        ...             HPFS/NTFS 
/dev/sda2                  ...         ...          ...               Linux
/dev/sda3                 .....         ....         ....             Linux LVM
/dev/sda4                 ....         ....         .....             W95 Ext'd (LBA)
/dev/sda5                 ...          ...             ...             HPFS/NTFS
 
Once the system mounted on /mnt/sysimage ,I performed the following steps:
On running the 'grub-install /dev/sda1' comand, the output is
Unrecognized command /sbin/grub
On running 'whereis grub-install' i get output as
grub-install:/usr/sbin/grub-install
 
Then i use this path to run the command,however it gives same output as in the first case.
Please corect me if i have gone wrong anywhere above.
So the question remains-how do i install the grub??

 
On 07/08/2009, Tim <ignored_mailbox@xxxxxxxxxxxx> wrote:
On Fri, 2009-08-07 at 00:44 +0530, devesh gade wrote:
> Inserted installation cd in rescue mode and then following commands at
> the prompt:
> 1 grub
> 2 root (hd0,0)
> 3 setup (hd0)
> 4 exit
> 5 reboot
>
> However even after rebooting the grub screen does not show up at
> startup and Windows XP boots by default.

Obvious questions:

Is hd0,0 the right drive and partition to work on?
Do you have more than one drive?

Running "fdisk -l" can list all the available drives and partitions, you
could post the output, here.

--
[tim@localhost ~]$ uname -r
2.6.27.25-78.2.56.fc9.i686

Don't send private replies to my address, the mailbox is ignored.  I
read messages from the public lists.



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines



--
Tough times dont last,Tough People Do.
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux