Failed GRUB installation, please help!!!!!!

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Failed GRUB installation, please help!!!!!!

Postby idsh on Sun Mar 08, 2009 6:44 am

I am newbee in Linux and I have tried 3 different distros since last year: Ubuntu, Fedora and Linux Mint 5. Each time the installtion goes well and I had a setup fo dual boot with Windows XP. I have 4 partitions on my computer:

1. Wind XP
2. FAT32 for data
3. Linux-partition
4. Swap

Last night I decided to update my Linux Mint by downloading and ISO-file for Mint 6. The installation went well up to 94% and the GRUB installation totally failed. I repeated the burning of the ISO-file with slower speed, I tried the installation again, but nothing seems to work. I have also tried to format the Linux-partition using Gparted but nothing......I have googled the problem and looked through the Mint Forum but I can´t find an answer that speaks to a newbee If you now what I mean :wink:

Now, I can´t login to my computer other than with the Live-cd! :(

I have tried to look for the file called menu.lst at /boot/grub but I can not find the file (and even if I find it I dont know what do to with it!)

I have typed
grub
grub> find /boot/grub/stage1

..and I got
Error 15: File not found

I have tried to get some more information through the program BootInfoScript and the result of the generated text file is

============================= Boot Info Summary: ==============================

=> Grub is installed in the MBR of /dev/sda and looks at sector 248610930 on
boot drive #1 for the stage2 file, but no stage2 files can be found at
this location.

sda1: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM

sda2: _________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: _________________________________________________________________________

File system: vfat
Boot sector type: Fat32
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 0. But according to the info from fdisk,
sda5 starts at sector 100534833.
Operating System:
Boot files/dirs:

sda3: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

sda4: _________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 6 Felicia
Boot files/dirs: /etc/fstab

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders, total 320173056 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x219a2199

Partition Boot Start End Size Id System

/dev/sda1 * 63 100,534,769 100,534,707 7 HPFS/NTFS
/dev/sda2 100,534,770 248,557,679 148,022,910 5 Extended
/dev/sda5 100,534,833 248,557,679 148,022,847 b W95 FAT32
/dev/sda3 248,557,680 248,959,304 401,625 82 Linux swap / Solaris
/dev/sda4 248,959,305 320,159,384 71,200,080 8e Linux LVM


blkid -c /dev/null: ____________________________________________________________

/dev/sda1: UUID="F6381CDF381CA0A3" TYPE="ntfs"
/dev/sda3: TYPE="swap" UUID="477f73e8-9496-472d-9750-1728b894ca1f"
/dev/sda4: UUID="9f84b341-ba26-487f-ac73-9474c49e37c0" SEC_TYPE="ext2" TYPE="ext3"
/dev/sda5: UUID="4875-37A3" TYPE="vfat"
/dev/loop0: TYPE="squashfs"

=============================== "mount" output: ===============================

/proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /lib/modules/2.6.27-7-generic/volatile type tmpfs (rw,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
tmpfs on /lib/modules/2.6.27-7-generic/volatile type tmpfs (rw,mode=0755)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/scd0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/mint/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=mint)


================================ sda1/boot.ini: ================================

[boot loader]

timeout=30

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS

[operating systems]

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /noexecute=optin /fastdetect


=============================== sda4/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda4
UUID=9f84b341-ba26-487f-ac73-9474c49e37c0 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda3
UUID=477f73e8-9496-472d-9750-1728b894ca1f none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

=================== sda4: Location of files loaded by Grub: ===================


142.7GB: boot/grub/stage2
142.6GB: boot/initrd.img-2.6.27-7-generic
142.7GB: boot/vmlinuz-2.6.27-7-generic
142.6GB: initrd.img
142.7GB: vmlinuz

I dont know what to do! Please help someone!
idsh
Level 1
Level 1
 
Posts: 17
Joined: Thu Jul 03, 2008 9:31 pm
Location: Stockholm, Sweden

Linux Mint is funded by ads and donations.
 

Re: Failed GRUB installation, please help!!!!!!

Postby Husse on Sun Mar 08, 2009 8:13 am

94% and no grub - that seems to me to be a known bug in Ubiquity - the installer - but it only happens with far more partitions than you have
Do you still have the live CD for Mint 5?
If so use that to install Elyssa again - seems you have your data safe (well as safe as they can be on FAT32)
Then wait for a later version of Mint than Felicia - after all Elyssa (main) is a LTS edition
Oh - can you boot Windows?
Start the live CD, press any key when it counts down and select "Boot from local disk"
If you have a "real" Windows CD, not a recovery CD, you can repair MBR from it
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Failed GRUB installation, please help!!!!!!

Postby altair4 on Sun Mar 08, 2009 8:20 am

Just as a followup to what Husse said above:

If you're very lucky you have a WinXP Install Disk ( not the recovery disk ). You can go into recovery mode and repair the WinXP bootloader:

1. Insert the Windows XP CD into your CD drive and restart your computer.
2. When the text-based part of Setup begins, follow the prompts. Select the repair or recover option by pressing R.
3. Issue the following command at the prompt: fixmbr

If you're not so lucky you can do the following:

Go to http://www.allbootdisks.com/download/iso.html

Download the Win95b.bootdisk.iso
( Don't worry about it being Win95 and not WinXP - We'll be using DOS commands anyway )
Burn it to a CD
Boot the machine with that CD
Issue the following command: fdisk /mbr

Both these methods will restore the MBR to the WinXP boot only state.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5846
Joined: Tue Feb 03, 2009 10:27 am

Re: Failed GRUB installation, please help!!!!!!

Postby Fred on Sun Mar 08, 2009 9:05 am

idshm

You can also use SuperGrub live cd iso to repair/replace your Windows pointer in the mbr. This is a handy tool to have around anyway, as it will boot almost anything, Windows variants as well as Linux.

You should be able to use SuperGrub to boot into your Linux install where you can then manually install grub too.

Download and burn the latest stable version of the live cd iso.

http://download.linux-live-cd.org/Super ... sgd/cdrom/

Fred
Insanity: Doing the same thing over and over and each time expecting a different result.

Democracy is 2 wolves and a lamb voting on the menu. Liberty is an armed lamb protesting the electoral outcome. A Republic negates the need for an armed protest.
User avatar
Fred
Level 10
Level 10
 
Posts: 3356
Joined: Fri Jan 04, 2008 11:59 am
Location: NC USA

Re: Failed GRUB installation, please help!!!!!!

Postby idsh on Sun Mar 08, 2009 9:23 am

Thank you my Linux Lords for your kind and swift response!!

I have tried to install Elyssa again, since it worked well for me the last time, but nope, I was not so lucky this time.

I will try to restore my Windows startup. I do have a originall WinXp-disc, so I hope it works. But, how should I do if I still would like to have Linux as my second boot option. If it goes well then MBR has been repaired? That means that I should have a new try at it with the installation? By the way what MBR? (sorry for the dumb question, bare with me!)
idsh
Level 1
Level 1
 
Posts: 17
Joined: Thu Jul 03, 2008 9:31 pm
Location: Stockholm, Sweden

Re: Failed GRUB installation, please help!!!!!!

Postby altair4 on Sun Mar 08, 2009 10:19 am

Using the fixmbr method will completely replace whatever is in the MBR ( Master Boot Record ) with WinXPs bootloader so you wont be able to boot into linux. Linux will still be there ( in whatever state it's in after stalling the install ) it's just that windows knows nothing about linux.

I've never used SuperGrub but that sounds like a very promising tool. In fact it sounds like you may be able to do both methods. fixmbr so that you can reassure yourself that Windows is alive and well in there and then SuperGrub to see if Linux can be repaired. Fred is the expert on SuperGrub and it's capabilities.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5846
Joined: Tue Feb 03, 2009 10:27 am

Re: Failed GRUB installation, please help!!!!!!

Postby idsh on Sun Mar 08, 2009 12:31 pm

Hello again,

I managed to boot up windows and now I am trying to use SuperGrub to restore Grup of Linux Mint. I am, however, not sure what option i should use. Do I use "Restore Grub in partition" or in hard disk?
idsh
Level 1
Level 1
 
Posts: 17
Joined: Thu Jul 03, 2008 9:31 pm
Location: Stockholm, Sweden

Re: Failed GRUB installation, please help!!!!!!

Postby distoaddict on Sun Mar 08, 2009 1:33 pm

idsh wrote:Hello again,

I managed to boot up windows and now I am trying to use SuperGrub to restore Grup of Linux Mint. I am, however, not sure what option i should use. Do I use "Restore Grub in partition" or in hard disk?


in Hard Disk.
distoaddict
Level 4
Level 4
 
Posts: 212
Joined: Thu Dec 04, 2008 6:35 am
Location: Glasgow Scotland

Re: Failed GRUB installation, please help!!!!!!

Postby idsh on Sun Mar 08, 2009 4:16 pm

I still can´t boot into Linux. I tried with SuperGrub but when I try to restore or fix Grub or boot into Linux I only get "Error 15: File not found"...? Almost anything I do gives this message.
idsh
Level 1
Level 1
 
Posts: 17
Joined: Thu Jul 03, 2008 9:31 pm
Location: Stockholm, Sweden

Re: Failed GRUB installation, please help!!!!!!

Postby Husse on Sun Mar 08, 2009 4:38 pm

I think the install failed before it did anything to grub - I've had that happening a couple of times, but then I had another Linux so I could continue
Use the super grub disk to install grub
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Failed GRUB installation, please help!!!!!!

Postby idsh on Sun Mar 08, 2009 4:59 pm

I tried to install Grup through Supergrub but I didn´t work. When I tried to do that manually it said: "Error 6: Mismatched or corrupt version of stage1/stage2"..

The only way I can see Linux Mint in my computer is through the Live-CD, so it seems. But that does not also help.
idsh
Level 1
Level 1
 
Posts: 17
Joined: Thu Jul 03, 2008 9:31 pm
Location: Stockholm, Sweden

Re: Failed GRUB installation, please help!!!!!!

Postby idsh on Mon Mar 09, 2009 5:30 am

I yesterday tried to install Fedora 10.

It worked perfect without any problems. Would it be safe to try to install Mint again or should I wait for the next version...?
idsh
Level 1
Level 1
 
Posts: 17
Joined: Thu Jul 03, 2008 9:31 pm
Location: Stockholm, Sweden

Re: Failed GRUB installation, please help!!!!!!

Postby viking777 on Mon Mar 09, 2009 6:54 am

I had this problem as well when I first installed Mint (although I have a lot more partitions than you and it was considered that was my problem). I was able to work round it because I have other versions of Linux installed with grub on their own partitions so I just used another grub instance then copied the Mint entry into that. Later on I switched over to using the Xfce CE edition and it installed perfectly first time despite the number of partitions. So my suggestion is why not try the Xfce ce version and see how you get on with it. It is miles better than Gnome anyway (apart from wicd!).
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: Lezzah and 18 guests