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.
Please help! I'm VERY new to Linux, in fact this problem is rearing it's ugly head on my first installation.
I tried installing SUSE Linux 10.1 on my work PC as a client is using Linux throughout their organisation and I wanted to test my software on the platform. BUT . . .
Once the Installation was completed (without errors) it rebooted and I've been plagued with the Error 21 screen since.
I have read the thread addressing the same problem that Sebastian had but my situation is a lot worse it would seem.
"threadid=338856"
He at least had a clue as to what to try but I do not.
Now some background, the PC is running 2 SATA hard drives and I'm sure that I installed the Linux on the master drive. I can go into my BIOS and I did try changing settings but to no avail.
If I leave the DVD in it loads up to the Installation menu and I've tried repairing the installation which gives an OK to everything but it gives an error when it gets to the 'Mounting All Partitions' where it says it's problematic.
Now I know that this is the problem, but how (and please explain every step as simply as possible) can i fix this or (worst case scenario) remove the Linux installations so that I can at least access the Windows system. (I have some very expensive software on the windows system which can not be re-installed so a re-format is not an option!)
First to answer your Qs - Windows is loaded on the Primary drive (Master drive!?)
Bootloader I can only assume from what I've discovered (read below) is loaded into sdb7
PS - what is MBR?
I pretty much didn't change anything in the setup other than the disk space that Linux wanted when installing, I gave it 30GB.
Could this have screwed up my installation?
Please read what I've found out and advise accordingly.
Thanks in advance for the help - it's much appreciated.
So I did get it to work, but in a very round about way. If i boot from the CD and do an installation selecting "repair installed system", do an automatic repair (activating the swap area [/dev/sdb6]), get the message "an error occured during installation" it brings up the main menu (kernel default) where I select 'Start Installation or System', then 'Boot Installed System'.
It lists the root partitions as:
sda1 : ntfs
sdb1 : ntfs
sdb5 : ntfs
sdb7 : reiserfs
sdb8 : reiserfs
From there I select /dev/sd7 as sdb8 is an invalid selection
This gets me into Linux (Yay!)
Now, my question is:
What must I do to point it straight to sdb7?
And How can I load up Windows (still not able to)?
The MBR is the Master Boot Record - it's what enables you to boot an operating system. The fact that you get a grub error means that you did install to the MBR.
So we can tick that box.
Do you get a (usable) grub prompt when you get the "21" ??? - i.e. will it accept keyboard input ??. If so, try (no quotes) "find /boot/grub/stage1"
Hopefully it'll return with "(hd1,6)". If it fails try "find /grub/stage1".
Whatever you get back use in the next command - enter both of these then reboot.
Code:
root (hd1,6)
setup (hd0)
If you dont get a usable grub prompt at boot, open a terminal from your Linux system, then type in "grub", and start with the find command above.
I did as you said, grub prompt is unusable so in the terminal I did as you said
"find /boot/grub/stage1"
it did return with "(hd1,6)"
then I ran
Code:
root (hd1,6) setup (hd0)
and rebooted, to get the same error again.
You seem to know what you are talking about. Are we on the road to success? And can I get into my Windows system at all?
This isn't making a lot of sense.
To get your Windoze booting again, boot the XP CD, and hit the <r> key when it says so on the splash screen. This will get you into the Recovery Console.
Enter fixmbr then reboot (you might get a "scare" message - I've never heard of this causing a corruption).
You should be right to go - however you'll need the (Linux) CD to get to your Linux system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.