UbuntuThis forum is for the discussion of Ubuntu Linux.
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 just tried installing Ubuntu but when it resterta for the first time, GRUB returns an Error 21. I know this means that it can't find the grub.conf file, but I don't know how to fix this. I used Windows XP's Recovery Console to get back into XP, but I can't access the GRUB files.
Here is my HDD layout:
1Gb IDE Boot Drive (FAT32)
8Gb SCSI drive
- 5Gb Windows XP Professional (FAT32)
- 3Gb Ubuntu (ext3)
I can't install GRUB in Windows, and I can't get the drivers for my SpeedTouch modem onto a Live CD, so I don't know what to do.
Perhaps this helps: http://help.ubuntu.com/starterguide/...html#id2521253
a scsi drive is denoted with sd instead of hd. So, I would try: grub-install /dev/sda or grub-install /dev/sdb if I understand your description well.
So, I would try: grub-install /dev/sda or grub-install /dev/sdb if I understand your description well.
Well, that's what I would do, but the Ubuntu setup program installs GRUB automatically. When it's installing, it says that it's detected Windows XP Professional, Ubuntu Linux and FreeDOS. I don't have FreeDOS! May this be what's causing the problem?
Quote:
Originally Posted by bwog
Because you have so little space, you could consider buying a drive or installing a light version of ubuntu
I was initially planning on using XFCE, but I thought I should get Ubuntu up and running before I tried anything fancy.
Can I download the latest GRUB, save it to my Flash Drive, boot from a Live CD and install it that way?
Ubuntu installs Grub automatically. With the method I gave above you can reinstall Grub where you want it, so that it starts up at boot. Afterwards you can edit grub if that is necessary.
I installed Ubuntu 6.10 on an older machine (256MB PC100 memory), and I kept getting the 'Error 21' grub error on my first reboot. What got me past it was the discovery that I had put the CDROM drive on the primary IDE channel, and the hard drive on the secondary IDE channel. I swapped these around and then I got past that error.
But now I have a different error: It brings me to a busybox and prompts me with:
/bin/sh: can't access tty; job control turned off
(initramfs)
I have a cheeky little fix for the grub Error 21 problem.
I was trying to install Ubuntu on my Dell Inspiron 3500 as I herd it had better wireless support. When I ran into the same problem. Since Ubuntu's Grub is a bit rubbish use another version instead!
The fix is, boot your laptop with a recuse cd , I this case I used one I had for fedora core 5 (I did try knoppix but that wouldn't work). When you boot up let it mount the drive, once your at prompt, type grub , then setup as normal. This takes account that you have /boot.. setup and you grub.conf/menu.1st setup. (go here to find that out - https://help.ubuntu.com/community/In...on/FromKnoppix) ie ->
grub> root (hd0,0)
-> or what every disk you want to install grub on.
then
grub> setup (hd0)
then "quit" grub and reboot.
I did say it was a cheeky fix, but it works!
Job done!
Last edited by hardwired2001; 02-10-2007 at 06:16 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.