LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-27-2012, 12:24 PM   #1
playgolf
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Rep: Reputation: 0
Boot problem


specs:

asus u46e-bal notebook
dual boot windows 7 and mandriva linux 2011
grub boot loader ( still intact)

Now, when trying to boot into linux it tries and then stops with only a black screen - just cannot boot into linux but CAN still boot into Windows7,


Have tried knoppix but will not mount disk

error message:

" cannot mount disk to /mnt -system"


The mbr is of course on the windows7 partition.

Would like to know if there a safe way to restore the mbr in attempts to recover entry into linux partition.

specs:

asus u46e-bal notebook
dual boot windows 7 and mandriva linux 2011
grub boot loader ( still intact)

Now, when trying to boot into linux it tries and then stops with only a black screen - just cannot boot into linux but CAN still boot into Windows7,


Have tried knoppix but will not mount disk

error message:

" cannot mount disk to /mnt -system"


The mbr is of course on the windows7 partition.

Would like to know if there a safe way to restore the mbr in attempts to recover entry into linux partition.

wein3150 has chosen the best answer to his/her question!
Click here to view the answer that was selected.
 
Old 02-01-2012, 01:51 PM   #2
playgolf
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Update.....

The black screen disappears
But only if I have the HDMI
cable plugged in while grub is booting up.

The problem now is how to get back to a
normal diplsay.
 
Old 02-01-2012, 01:56 PM   #3
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
Now, when trying to boot into linux it tries and then stops with only a black screen - just cannot boot into linux but CAN still boot into Windows7,
Two possible things: Either your grub is pointing to a wrong partition; or it is pointing to a mismatched kernel. Are you using initrd? Which OS installed the grub? How was grub installed? How far does linux go each time you attempt to boot into it?

Quote:
Have tried knoppix but will not mount disk
This is a separate problem. What error it gives? how did you install knopix?


Quote:
The mbr is of course on the windows7 partition.
The MBR is not contained in a partition, it is generally at the beginning sector.


Quote:
Would like to know if there a safe way to restore the mbr in attempts to recover entry into linux partition.
First you create an MBR backup. But since you are not running a linux (is knopix still running? from where, partition or livecd?) you will need to run at least a linux from a liveCD. Try Linux Mint LiveCD here and boot it up from CD/DVD drive. Once running you can back up your current MBR by this--

First mount a partition where you can write and keep the MBR backup file (this is very small file).

Example:
Quote:
sudo mount /dev/sda8 /mnt/tmp

Then backup the MBR--

Quote:
--# dd if=/dev/sda of=/mnt/tmp/myMBRbackup bs=512 count=1
Having done it, check your backup file by this command:

Quote:
--# file /mnt/tmp/myMBRbackup
It returns an enumeration of addresses in the first 512bytes in the first sectors.

======

In case you want to restore the backup into the MBR just issue this--

Quote:
--# dd if=/mnt/tmp/myMBRbackup of=/dev/sda
Reboot into the current situation. That's assuming you have not altered anything in the partition distribution of the entire hard disk.

Hope this helps Goodluck.
 
Old 02-01-2012, 03:34 PM   #4
playgolf
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Original Poster
Rep: Reputation: 0
I'm away now

and will reply asap. Thanks
 
Old 02-07-2012, 12:26 AM   #5
playgolf
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Are you using initrd? Which OS installed the grub? How was grub installed? How far does linux go each time you attempt to boot into it?

I installed grub with Mandriva One 2011.

Without the HDMI plugged in, it will load the boot menu and then it stops
short of the blue screen opening for KDE ….stays black.

I know of /etc/initrd but I don’t know if Im using it.


I can delete the current Linux partition altogether and re install it no problem.

That won't mess with the Windows partition will it?
 
Old 02-07-2012, 02:28 AM   #6
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:

I can delete the current Linux partition altogether and re install it no problem.
If you can do that without issues then you may do that solution, it is better because you would be able to test other distros.


Quote:
That won't mess with the Windows partition will it?
So long as you dont touch the partition where Windows is installed it would'nt do any harm to it. Only be sure to install the Grub with and from on the newly intalled Linux. The setting up of OS options in grub is automatically done by grub at installation.


Try Linux Mint here.

Hope it helps.

mm
 
Old 02-07-2012, 01:44 PM   #7
playgolf
LQ Newbie
 
Registered: Mar 2007
Posts: 7

Original Poster
Rep: Reputation: 0
SOLVED - Boot Problem

Reinstalled using One ISO image.

In retrospect, this was not a grub issue but some kind of graphics/display
issue .

It happened because I tweaked the graphics server somehow defaulting
HDMI only.

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can't select XP OS in a dual boot with Isadora at boot screen (grub problem) faby1321 Linux Mint 10 08-10-2010 06:07 PM
Fedora 9x64 AHCI problem - no boot (only CD Rom boot) after install sandaili Fedora 1 06-06-2008 02:33 PM
boot to GUI problem want grub boot to single user mode. hocheetiong Linux - Newbie 1 09-26-2007 06:41 PM
solaris boot problem boot error loading interpreter(misc/krtld) Johncy_j Solaris / OpenSolaris 5 08-18-2005 01:47 AM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration