LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 02-19-2012, 08:03 AM   #1
nullne
LQ Newbie
 
Registered: Feb 2012
Posts: 12

Rep: Reputation: Disabled
seems to be the problem of grub


At the very begining, i want to install dual booting,but failed. then...
when booting it appears :
error:invalid arch independent elf magic
grub rescue<

apparently,i don't have any idea of it .
then i try some methods found online
1)
type followings behind rescue:
set root=(hd0,2)
set prefix=(hd0,2)/root/grub
insmod normal

then appears invalid arch independent elf magic

2)ls (hd0,2)
appeared bad filenames
ls (hd0,*) [*stands for 1,3,4,5,]
appeared unknown filesystem


3) then i try


start ubuntu using usb system

mount /dev/sda1 /mnt/
grub-install --root-directory=/mnt /dev/sda

appeared
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.


certainly i don't understand it

go on trying

mount /dev/sda /mnt
mount --bind /dev /mnt/dev
sudo chroot /mnt

apeared:chroot: failed to run command `/bin/bash': No such file or directory



finally, i really almost die.


tutorial from:http://www.linuxidc.com/Linux/2010-02/24441.html

Last edited by nullne; 02-20-2012 at 06:03 AM.
 
Old 02-19-2012, 04:30 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
http://ubuntuforums.org/archive/inde...t-1813994.html

This thread says maybe turning off EFI boot in the BIOS might help.
 
Old 02-20-2012, 04:48 AM   #3
nullne
LQ Newbie
 
Registered: Feb 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
waiting online for some help
 
Old 02-20-2012, 05:24 AM   #4
nullne
LQ Newbie
 
Registered: Feb 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
help
help
help
help
help
help
help
help
help
 
Old 02-20-2012, 05:33 AM   #5
adilbhilai
LQ Newbie
 
Registered: May 2007
Distribution: RHEL 5.1 & Fedora 16
Posts: 29

Rep: Reputation: 15
do you have different partition for "/" & "/boot"

if "YES" then
3) then try
start ubuntu using usb system
#mount /dev/sda1 /mnt

#mount /dev/sda3 /mnt/boot ( if /dev/sda3 is your boot partition) <=======

#grub-install --root-directory=/mnt /dev/sda

Last edited by adilbhilai; 02-20-2012 at 05:50 AM.
 
Old 02-20-2012, 05:51 AM   #6
nullne
LQ Newbie
 
Registered: Feb 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by adilbhilai View Post
do you have different partition for "/" & "/boot"

if "YES" then
3) then try
start ubuntu using usb system
#mount /dev/sda1 /mnt

#mount /dev/sda3 /mnt/boot ( if /dev/sda3 is your boot partition) <=======

#grub-install --root-directory=/mnt /dev/sda
what should i do next?

restart?
 
Old 02-20-2012, 05:56 AM   #7
nullne
LQ Newbie
 
Registered: Feb 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by adilbhilai View Post
do you have different partition for "/" & "/boot"

if "YES" then
3) then try
start ubuntu using usb system
#mount /dev/sda1 /mnt

#mount /dev/sda3 /mnt/boot ( if /dev/sda3 is your boot partition) <=======

#grub-install --root-directory=/mnt /dev/sda
seems doesn't work:
grub-install --root-directory=/mnt /dev/sda
/usr/sbin/grub-setup: warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: will not proceed with blocklists.


what shall i do?
 
Old 02-20-2012, 08:57 AM   #8
nullne
LQ Newbie
 
Registered: Feb 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
http://ubuntuforums.org/archive/inde...t-1813994.html

This thread says maybe turning off EFI boot in the BIOS might help.

how to ?
i am a fresh man
 
Old 02-20-2012, 09:05 AM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Try rebooting and hit F2 to get to the BIOS settings.
 
Old 02-20-2012, 09:52 AM   #10
nullne
LQ Newbie
 
Registered: Feb 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by brianL View Post
Try rebooting and hit F2 to get to the BIOS settings.
then ?
 
Old 02-20-2012, 10:37 AM   #11
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
http://ubuntuforums.org/archive/inde...t-1813994.html

This thread says maybe turning off EFI boot in the BIOS might help.
Do what smallpond suggests.
 
Old 02-22-2012, 03:59 AM   #12
nullne
LQ Newbie
 
Registered: Feb 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
all of that didn't work!
 
  


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
Problem with GRUB: partition not found. Grub Rescue?? genoboss Ubuntu 117 01-04-2011 07:56 PM
Installing GRUB in another disk problem, GRUB Hangs in boot caosxxi Linux - General 7 08-26-2009 01:55 PM
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 09:42 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 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