[SOLVED] New Install won't boot

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] New Install won't boot

Postby brogers » Mar 1st, '13, 15:08

I just installed the Mageia 2 [2012] over my Mandriva 2011 installation.

The install went fine, however when I try to boot my new System it fails saying that it can't find gfxmenu, nor can it find vmllinuz.

However when I boot directly from the CD [launch Mageia insted of install Mageia] I see that the files are there.

Any Ideas?
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby brogers » Mar 2nd, '13, 06:10

Also -- I tried another install this time using the entire disk for the Install. Now I get this when I boot:
Code: Select all
GRUB Loading Stage1.5.

GRUB Loading, please wait...
Error 15
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby djennings » Mar 3rd, '13, 02:57

When you say you installed it "over" Mandriva 2011 does that mean you did it as an 'upgrade'.
It is not possible to upgrade from Mandriva 2011 to Mageia2, only from Mandriva 2010.2.

And if you did it as an install did you format the drive partitions?
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: New Install won't boot

Postby brogers » Mar 3rd, '13, 17:26

I did not upgrade.
I did format the old partitions.
In fact I tried several different permuations of the format:
1] Use existing partitions & format each
2] Erase & format entire drive.

Then once I had a chance to pick where the bootloader goes, I tried several of the options
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby brogers » Mar 10th, '13, 22:46

I also tried installing using the Mageia 2 DVD...

Same problem..
All I get is this:

GRUB Loading Stage1.5.

GRUB Loading, please wait...
Error 15
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby isadora » Mar 11th, '13, 08:11

To me somehow unclear, but are you talking about the same issue as in your other topic:
viewtopic.php?f=7&t=4481#p31773
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: New Install won't boot

Postby brogers » Mar 11th, '13, 12:55

No
This time the install proceedes as normal. But I get the above error when I boot from the Hard DIsk
With the ohter I could not even install or run Mageia from the CD
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby wintpe » Mar 12th, '13, 16:09

Error 15 means file not found

so the file pointed to in grubs menu.lst does not appear to be there or the device that the file is on, ie the disk is not
as expected.

this could be because grub is pointing to a UUID, and theres an issue or change in that UUID.

boot a live CD or from CD using rescue and then mount the disk on /mnt

look at the /mnt/boot/grub/menu.lst and the /mnt/etc/fstab

see if they agree

there is a way of listing what uuid is assigned to the disk but ive forgoten it, maybe fdisk shows it.

(edit) blkid is the command you want

anyway check that the uuid is what it should be and that the files pointed to by menu.lst are what they should be.

dont know why this has happened but lets understand whats happened before we work out why.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: New Install won't boot

Postby brogers » Mar 13th, '13, 01:28

menu.lst:
Code: Select all
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=44d844de-70e3-4534-ba91-3
64f7e5b8b54 splash quiet resume=UUID=abefefe3-7adb-4ba0-a780-3ddf99895d00 vga=78
8
initrd (hd0,0)/boot/initrd.img

title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=44d844de-70e3-4534-
ba91-364f7e5b8b54 resume=UUID=abefefe3-7adb-4ba0-a780-3ddf99895d00
initrd (hd0,0)/boot/initrd.img

title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=44d844de-70e3-4534-ba9
1-364f7e5b8b54 failsafe
initrd (hd0,0)/boot/initrd.img

title desktop 3.3.6-2.mga2
kernel (hd0,0)/boot/vmlinuz-3.3.6-desktop-2.mga2 BOOT_IMAGE=desktop_3.3.6-2.mga2
 root=UUID=44d844de-70e3-4534-ba91-364f7e5b8b54 splash quiet resume=UUID=abefefe
3-7adb-4ba0-a780-3ddf99895d00 vga=788
initrd (hd0,0)/boot/initrd-3.3.6-desktop-2.mga2.img

title desktop 3.4.34-1.mga2
kernel (hd0,0)/boot/vmlinuz-3.4.34-desktop-1.mga2 BOOT_IMAGE=desktop_3.4.34-1.mg
a2 root=UUID=44d844de-70e3-4534-ba91-364f7e5b8b54 splash quiet resume=UUID=abefe
fe3-7adb-4ba0-a780-3ddf99895d00 vga=788
initrd (hd0,0)/boot/initrd-3.4.34-desktop-1.mga2.img


fstab:
Code: Select all
# Entry for /dev/sda1 :
UUID=44d844de-70e3-4534-ba91-364f7e5b8b54 / ext4 acl,relatime 1 1
# Entry for /dev/sda6 :
UUID=8129ef9f-78de-4a8b-a773-e85dc80f7b64 /home ext4 acl,relatime 1 2
/dev/cdrom /media/cdrom auto umask=0,users,iocharset=utf8,noauto,ro,exec 0 0
/dev/fd0 /media/floppy auto umask=0,users,iocharset=utf8,noauto,exec,flush 0 0
none /proc proc defaults 0 0
# Entry for /dev/sda5 :
UUID=abefefe3-7adb-4ba0-a780-3ddf99895d00 swap swap defaults 0 0


The two UUIDs available from the LIVE CD Boot:
Code: Select all
44d844de-70e3-4534-ba91-364f7e5b8b54/ 
8129ef9f-78de-4a8b-a773-e85dc80f7b64/


The 44d844de-70e3-4534-ba91-364f7e5b8b54 Disk contains the ./boot, ./etc, etc directtories.

Now I only have two real Drives, Mageia partitioned the one into sda1 and sda6.
I don't know why sda5 doesn't mount whenI boot from the Live CD.

Does this all help?
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby brogers » Mar 25th, '13, 01:22

Hello

I booted from the Mageia 2 DVD and selected "RESCUE SYSTEM"

From the Resucue menu I selected "Re-install Bootloader"

After a few prompts I [answering all with the default (Enter)]
I got the following
Code: Select all
grub> root (hd0,0)

Error 21: Selected disk does not exist
grub> setup --stage2=/boot/grub/stage2 (hd0)

Error 12: Invalid device requested
grub> quit


I then tried again selecting "Restore Windows Bootloader"
It prompted me to select which of 2 drives to install on. For each one I still go the
Code: Select all
GRUB Loading Stage1.5.

GRUB Loading, please wait...
Error 15
Error

Any Idea what's going on????
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby benmc » Mar 25th, '13, 09:46

Hi brogers.

just to recap

you have a system that wont boot after a live cd install or M2 DVD install.

your system has 2 hdd, one with windows?, the other with Mageia with 3 partitions : sda1 [/.boot ,i.e. system ] , sda5 [ swap ] , sda6 [ /.home ].
I understand that the live cd system wont mount the swap [ sda5 ] partition as it is using ram as its swap file
grub has error 15 - cannot find file [ vmlinuz ]

have you tried removing / unplugging the windows? hdd, attending to the bios, and attempting to see if unit
1/ will now boot?
2/ trying to re-install the system from the Mageia 2 DVD without the windows? hdd? -

note: I dont think you will need to reformat your existing partitions but you may have to set the mount points manually [ /,/swap,/home ], and, after the desktop selection page [ kde / gnome / custom ] it should just go to the configuation page as you have already installed the system.

kind regards

Benmc
benmc
 
Posts: 1215
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: New Install won't boot

Postby brogers » Mar 25th, '13, 12:58

My system has two HDD, none should have windows -- don't know why rescue had the 'windows' option.
However the 2nd Hdd did come from a windows box -- I thought that I did have it reformatted.

How would I go about setting the mount points manually?
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby gohlip » Mar 25th, '13, 15:50

It's a bit confusing for us here but assuming you did have a Mageia install in first partition (your menu list says (hd0,0) ) of either (both?) of your 2 disk, when the menu appears, amend

Code: Select all
title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=44d844de-70e3-4534-ba91-3
64f7e5b8b54 splash quiet resume=UUID=abefefe3-7adb-4ba0-a780-3ddf99895d00 vga=788
initrd (hd0,0)/boot/initrd.img


to
Code: Select all
title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/sda1 vga=788
initrd (hd0,0)/boot/initrd.img


and try this if above did not work
Code: Select all
title linux
kernel (hd1,0)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/sdb1 vga=788
initrd (hd1,0)/boot/initrd.img


If booted at terminal (root)
Code: Select all
update-grub
[edit] - to others....there's an update-grub for grub-legacy in Mageia, right?
otherwise, please help out with right command. (if any) [end edit]
[edit2]
Code: Select all
grub-mkconfig -o /boot/grub/menu.lst
? [end edit2]


If neither works, go to grub prompt and let us know output of
Code: Select all
grub> ls                <that's a small 'L'>
grub> find /boot/grub/stage1
grub> find /vmlinuz
grub> find /boot/vmlinuz
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: New Install won't boot

Postby brogers » Mar 25th, '13, 16:16

Where [what file] do I ammend?
My system does not even displaythe menu.
I only get a menu when I boot from the Live CD or the Live DVD.
The DVD does not allow me to ''Launch Mageia" only the CD has that option.
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby gohlip » Mar 25th, '13, 16:39

You said (several times, in fact; after several unsucessfully boots from several installs)
"GRUB Loading Stage1.5.
GRUB Loading, please wait...
Error 15

There has to be a menu to get this message.
If none appears, it means you have only one OS in that computer and the menu is hidden.....

So...when starting up computer, keep pressing 'shift' key, to get to the menu page.
(it is better to keep tapping at the key, not really pressing)
and....(sorry).I am not sure if it is the 'shift' key (most likely) or the 'tab' key or the 'esc' key...(tap all if not sure, no problem)
[at least 5 years, I've not used grub-legacy and my menu always appears]
when menu appears, at the first entry, press 'e' (the key instructions is at bottom of menu) to edit and follow my previous post.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: New Install won't boot

Postby gohlip » Mar 25th, '13, 16:53

Come to think of it, brogers, it might be easier for you to use only one hard drive.
Disconnect one drive (preferably the slave) and install (and boot) with only one drive.

expanation: grub-legacy.........(never mind for now)
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: New Install won't boot

Postby gohlip » Mar 25th, '13, 17:10

I missed one item from the "find". Mageia needs this (vmlinuz-desktop) too
Code: Select all
grub> ls                <that's a small 'L'>
grub> find /boot/grub/stage1
grub> find /vmlinuz
grub> find /boot/vmlinuz
grub> find /boot/vmlinuz-desktop


most likely, but best to confirm, you need to boot with vmlinuz-desktop rather than vmlinuz.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: New Install won't boot

Postby brogers » Mar 26th, '13, 13:55

I still cannot get the GRUB menu/prompt.

The only menu that I can get is the Boot Menu [F12 as in F2-Setup & F12-BootMenu].

Here I can boot from
  • CD
  • SATA Hard Disk
  • IDE Hard Disk
  • etc

When I select the SATA HD, I get my GRUB Error 15 problem.
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby gohlip » Mar 26th, '13, 15:59

After selecting SATA and pressing enter, start tapping <esc> key. (it is escape key for grub-legacy, in grub2 it is <shift>)

But...if you keep having problems, I strongly suggest you use only one hard drive to install and to boot up first (it should be much better with later releases of Mageia).

Good luck.
ps: like your persistence.
Also it is bad to mix SATA drives with IDE drives too. Your BIOS may not recognise/detect one of them.
o etc? what other etc are there?
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

Re: New Install won't boot

Postby brogers » Mar 26th, '13, 23:28

Tried
  • Disconnecting the IDE drive. Booted on the SATA drive, Kept pressing esc -- No change no menu.
  • With IDE drive Booted on SATA drive, Kept pressing esc -- No change no menu.

Perhaps is it missing one of the grub files?
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby gohlip » Mar 27th, '13, 04:16

It is better now to reinstall again, with only one drive (SATA is better). Let install use entire drive, format all, etc...
And boot up with only that drive.

Good luck.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50

[Solvedd] New Install won't boot

Postby brogers » Mar 29th, '13, 15:14

Well I got it working. What I had to do was
  • Remove the 2nd Drive
  • Install Mangeia
  • Run Mangea [ one or two times ]
  • Re-insall 2nd Drive
  • Partition, format and mount 2nd Drive.
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

[Solved] New Install won't boot

Postby brogers » Mar 29th, '13, 15:15

.
brogers
 
Posts: 35
Joined: Mar 1st, '13, 15:04

Re: New Install won't boot

Postby gohlip » Mar 29th, '13, 16:12

Good to hear, brogers.

Cheers, take care.
Why do we live? To prove not everything in nature has a purpose.
gohlip
 
Posts: 573
Joined: Jul 9th, '12, 10:50


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest