Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
[SOLVED] My first Linux install (grub install failed)
Hi, I'm Elbow. I've used PC's for many years now and thought I'd give Linux a go. I heard Ubuntu was good for beginners, and had a new version out, so I used the official torrent to get it.
The Live CD interface was impressive, but I had already commited to installing anyways. I had messed around with Knoppix a bit before, but this was the first time I had room on my computer for an installed OS of Linux.
To the problem at hand: I'm trying to make Ubuntu 8.04 dual boot with Windows XP pro, on the same SATA hard disk, but different partitions (I have an IDE hdd which I'm going to use for storage, but my SATA 500 gb is my new drive). When I went to install, I called my brother-in-law, who has used Linux for a few years or so. He helped me get past the stage of choosing the file system type (I checked the "Format the drive" box). I chose to import my Windows XP settings, and clicked the advance tab for the boot options (I think), but understood nothing, so I went on. It prompted me about the swap file, but I didn't have another partition readily available for it, so I simply clicked continue. It installed smoothly until 94%, when it came up with this fatal error: "Executing 'grub install (hd0)' failed".
I tried the exact same settings again, later, except I chose not to import any XP setting. I received the same error. I don't know what I could do to fix it (as I am new to this) so I googled it, and found nothing I understood. I am thankful for any help you can give, but please to not make the advice too technical, as I will have no clue as to what you're talking about.
Its really easy to create new partitions. One can create 3 Primary + 1 Extended + 11 Logical Partitions inside Extended Partition.
Boot up from Ubuntu CD, open Terminal and execute this
Code:
sudo fdisk -l
Post output here.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein New Users:Read This First
I'm in exactly the same position, I'm trying to make a dual boot with Windows XP Pro and Ubuntu 8.04. I got the fatal error with GRUB when I didn't make a swap partition, so I went to bed and today I tried to install again; I made a 4gb partition for swap (that should be enough, right? I have 2gb of ram). I also went into advanced options and selected sda instead of the default value of (hd0), but it installed and GRUB failed again. Any ideas?
I am dual booting too.
What is in /dev/sda5 partition? Its marked as unknown. It means Windows OS doesn't recognize it too.
Is it a recovery partition?
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein New Users:Read This First
I am dual booting too.
What is in /dev/sda5 partition? Its marked as unknown. It means Windows OS doesn't recognize it too.
Is it a recovery partition?
To be honest I'm really not sure what it is :P As far as I know, I no longer have a recovery partition. Of what I do know, I think:
Partition 1 - C: on Windows; system partition
Partition 2 - Something else
Partition 3 - Failed Ubuntu install partition
Partition 4 - Ubuntu Swap partition (I'm going to delete this and make a new 512mb swap)
Partition 5 - D: on Windows; data partition
I'm not quite sure how this whole thing works, as the sizes of the partitions add up to 134gb in all yet I have an 80gb internal HD.
Extended Partition is just a Container. It contains Logical Partitions.
Boot up from Ubuntu CD, open GParted Partition Manager. Format /dev/sda5 in ext3 filesystem. Shrink /dev/sda7 ( 512MB is enough and merge free space in NTFS Partition (/dev/sda6).
Click on Install Icon and start Installation. Select Manual Partitioning. Assign / mount point to /dev/sda5. Installer will detect SWAP partition itself. Continue Installation. Installer will install GRUB and setup dual boot for you.
__________________
It takes a lot of time to be a genius, you have to sit around so much doing nothing, really doing nothing. - Gertrude Stein New Users:Read This First
Thanks a lot! I managed to install it last night, and it was fine. I'm trying to enable graphics effects now and all of the default drivers available seem to be slightly dodgy on my nVidia 7600GS; they only allow me to choose from 800x600 and 640x480 and when I did, by some feat, manage to get 1280x1024 the special effects still didn't work.
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe