Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I've booted up using the LiveCD 5.3 and re-installed Grub from the add and remove programs and then rebooted. But I still just boot straight into XP! Do I need to do anything else i.e. run some cammands from the terminal? As you can tell i'm a complete newbie to Linux!!
when you boot up a Live CD, say from the original Scientific distro just drop into a root terminal and invoke a Grub shell with this command
Code:
grub
the Grub can be restored by
Code:
root (hd1,0)
setup (hd0)
quit
The above is to tell Grub that you have a Linux at the 1st partition of the 2nd disk, sdb1 to Linux but (hd1,0) to grub, as the root and install Grub to the first disk (hd0). As no partition is specified in (hd0) Grub will go straight to the MBR.
The code you specified has indeed reinstalled Grub and I can get into Linux fine now. The only problem is I cant get into Windows XP now! I recieved the following error message when selecting XP at boot up:
Device Boot Start End Block ID System
/dev/sda1 * 1 38912 312560608 7 HPFS/NTFS
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 38913 312464250 8e Linux LVM
Thanks for the help, really appreciated. Everything seems to be working okay now.
Info for anybody else with a similar issue.
1. logged into Linux as root
2. Opened Terminal/Console
3. Typed: sudo gedit/boot/grub/menu.lst
4. The config menu opens in a new window.
5. title Windows XP
rootnoverify (hd0,0),<- Changed this entry from (hd0,1) to (hd0,0)
chainloader +1
6. Saved Changes and Rebooted
7. Selected XP from the GRUB and logged into Windows XP without any hitches.
The learning curve is what keeps linux interesting. In any of your next threads please let us know which distro you are using. Is it Scientific Live CD5.3?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.