Re: windows XP deleted bootloader,need to reinstall it

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

 



devesh gade wrote:

> I had windows xp and fedora 9 in dual boot mode.Recently,I formatted my
> windows XP. during this process,XP had deleted the boot loader of fedora.
> I have tried to reinstall the boot loader by the installation cd in the
> rescue mode but it does not work.
> I also did a bit of googling and followed steps:
> 
> 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.
> Now,how do i get linux started??
> Or to say the least, how do i install the boot loader??

I'm not an expert in grub, but if I had been you I would have tried to find
the Linux kernel and initrd in the grub conversation:

	root (hd0,0) [Do you have your /boot on /dev/sda1 ?]
	kernel /vmlin[TAB] [This will list available kernels] root=/dev/sda3
		[or whatever]
	initrd /init[TAB] [Finish the initrd matching the kernel]
	boot

If this succeeds in booting, remember to say "sudo grub-install /dev/sda"
or whatever.



-- 
Timothy Murphy  
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland


-- 
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