Fatal Error when installing Grub (Ubuntu) on Dell E1505 laptop
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Fatal Error when installing Grub (Ubuntu) on Dell E1505 laptop
hello all,
i have a dell e1505 laptop on which I am trying to dualboot ubuntu with xp and vista. The hard drive is a stock sata, dualbooting xp and vista currently. XP and Vista are in the first two partitions. third partition is meant for liunx (ubuntu). i spent some time installing ubuntu, but in all of my 4 attempts, the grub failed to install. Does anyone know why?
I chose proper partitions when installing (there are 4 in all, with one extra for swap).
Here's what I noticed.
1. When trying to install, all the partitions are mounted in /media/sdb, with 1 for XP, 2 for Vista, and 3,4 left alone. so i mount / for /media/sdb3 and swap at /media/sdb4.
2. before installing, when i do an fdisk in terminal, i get an error 'unable' to do somethings (blah)...
what is annoying is that the installation takes an hour, and grub fails at the very end (95%). if i knew in advance that grub doesn't install at all, i wouldn't make an installation attempt at all.
this is a very proper ubuntu cd i downloaded only a couple of days ago, and actually installed on a desktop. it's just that i can't install it on my laptop. i wonder if vista bootloader has anything to do with it.
if anyoneone has seen this problem before, and knows how to fix it, please let me know. thanks in advance for your help.
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142
Rep:
how is your setup, are you booting all your Os's from grub. i had the same problem with my Ubuntu, the only way it's happy is if you install it's grub to MBR. If you have a standalone grub booting all your Os's this is no problem since, Ubuntu is installed and working just it's grub thats not working. So what is your setup.
so i mount / for /media/sdb3 and swap at /media/sdb4.
This caught my attention. It appears you are running from live CD.
I am wondering why the partitions are showing as sdb_. fdisk should tell us. Depending on how you logged in to the live Linux, you may need to use sudo fdisk ... or sudo /sbin/fdisk
When you run the installer, you should not be concerned about where anything is currently mounted. You would tell the installer to make / the mountpoint for sdX3. Swap does not get mounted.
Well,
I just got fed up with trying to install Ubuntu. So I tried FC8.
I had the same exact problem. The OS seems to install fine, but when it comes to installing GRUB in MBR, both Ubuntu and FC8 seem to fail (3 FC8 attempts, in addition to several Ubuntu attempts).
This is a stock Dell E1505 laptop. First partition has XP, second Vista. Currently, Vista loader is in MBR. I am trying to get FC8/Ubuntu in 3rd partition.
I did some googling around, and decided to launch Linux in rescue mode, but neither the disk nor any partitions are mounted in /mnt/sysimage. I couldn't manually load either.
Is there anything I can do manually mount the disk, then chroot so as to install GRUB?
Finally, figured out what the problem was. For some reason, not sure if it was because of Windows XP/Vista, the partition in which FC was installed was marked FAT16. I just changed the partition ID to ext3, and grub install just went fine.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.