Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi i have grub for bootloader and have installed suse 10.0 and windows xp prof on my hdd.When i was installing linux windows had been installed already so i had no problem because in every boot grub ask me for which os do i want to load but when i format the windows and install it again it doesnt ask for any other os it directly boot itself
So in this condition how can i get back my old grub without formatting the linux
Thanks
hi,
its simple thing.
1. Boot the computer with Linux Installation CD.
2. Enter into Linux Rescue mode by enering the following command in boot screen.
boot: linux rescue
3. When the sh prompt is reached, enter the following commands to change root password.
#chroot /mnt/sysimage
#grub-install (select your grub location to be installed on HDD e.g. /dev/hda1)
The bootup process looks for code in the mbr of the first drive (after trying floppy and maybe CD)
Windows will install it's boot loader in the mbr of disk 1. By default, this also where grub goes when you install Linux.
Look in the grub config file---usually /boot/grub/menu.lst Here you will see the info that grub uses to boot various things. For Windows, you'll see "chainloader +1" That sends the system to the boot sector of the first partition on drive 1. That is where NTLDR is.
Further, you will see that the boot code sends the system to the Linux partition.
You may want to have a look at the grub manual (on the grub web site)
i have followed what u said
i have put the linux boot cd then type linux rescue
then it asked me login i wrote root after that there was a prompt called
rescue# and i wrote there grub --install /dev/hda6
then an empty screen with grub promp apperad as
grub#
then wait parametres from me and i didnt know what to write so nothing happened
is that wrong
if it is can u write it to me step by step plz
follow what i said in post 2 here. also AFAIK in rescue mode you will no longer be asked to login. becasue this is the procedure used for resetting root password or installing grub
hi,
it mean suse10 have different rescue mode compare to what only i used on Fedora. then try giving root user name and its password. but i dont think it will work as you have already deleted all linux partitions including /etc/passwd to crosscheck username/password.
but i feel some default username/password may be there for Suse recue operation.
does anyone exactly know what to do in suse 10.0 to reload grub os booting screen after formating the windows?
I would be appreciate it if u explain it step by step instead of giving links
Thanks
My reading of this thread says that people have been trying to answer your question.....
If you can get into a Linux mode---eg Live CD or rescue mode, you can install GRUB on a floppy. This will not disturb the Windows installation.
There are also ways of configuring the **Windows** loader to boot anoth OS.
yeah re-installing the linux can be the simpliest solution but i dont wanna loose the datas in it and also i dont wanna format linux everytime when i format windows so all i want is a solution that doesnt include floppy disks and damaging the windows partition
yeah re-installing the linux can be the simpliest solution but i dont wanna loose the datas in it and also i dont wanna format linux everytime when i format windows so all i want is a solution that doesnt include floppy disks and damaging the windows partition
How about taking your data on windows xp partition/ any other harddisk if you have and then reinstalling linux?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.