LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-14-2009, 02:42 AM   #1
vino87
Member
 
Registered: Jun 2009
Location: India, Chennai
Posts: 32

Rep: Reputation: 15
Lightbulb Installing Grub


I copied all the files from a IDE hard disk to my SATA hard disk partition
using the cp -avx command, when I try to bootup from SATA hard disk it shows "Verifying DMI pool data" and gets hangup. what I need to do to get boot from SATA hard disk. when I look at the /boot file I found that it was grub.
 
Old 08-14-2009, 03:22 AM   #2
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by vino87 View Post
I copied all the files from a IDE hard disk to my SATA hard disk partition
using the cp -avx command, when I try to bootup from SATA hard disk it shows "Verifying DMI pool data" and gets hangup. what I need to do to get boot from SATA hard disk. when I look at the /boot file I found that it was grub.
which distro??
boot with a rescue disk.
then

Code:
grub-install /dev/sda
or whichever the boot disk is
 
Old 08-17-2009, 05:18 AM   #3
vino87
Member
 
Registered: Jun 2009
Location: India, Chennai
Posts: 32

Original Poster
Rep: Reputation: 15
I installed GRUB boot loader into the /dev/sda1 partition.
When I boot up the system, I got the following error message.

mkrootdev: label /not found
mount : error 2 mounting ext3
pivotroot : pivot_root (/sysroot, /sysroot/intrd) failed : 2
unmount /initrd/proc failed : 2

kernel panic : No init found
Try passing init= option to kernel

Last edited by vino87; 08-17-2009 at 05:19 AM. Reason: Misspelled
 
Old 08-17-2009, 05:24 AM   #4
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Give us the results of fdisk -l
 
Old 08-17-2009, 05:43 AM   #5
vino87
Member
 
Registered: Jun 2009
Location: India, Chennai
Posts: 32

Original Poster
Rep: Reputation: 15
Device Boot
/dev/sda1 *
/dev/sda2
/dev/sda3
/dev/sda4
/dev/sda5
 
Old 08-17-2009, 02:34 PM   #6
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Is that the result of fdisk -l?

I can not give you the technical reason but I believe you need to use a clone program or the dd command to accomplish what you are trying to do. The copy command will not work.
 
Old 08-17-2009, 03:38 PM   #7
hughetorrance
Member
 
Registered: Aug 2009
Location: London North West
Distribution: x86_64 Slack 13.37 current : +others
Posts: 459

Rep: Reputation: 59
Get a copy of the UBCD, make sure you get the free one ... its got Grub on it,navigate to automatically install...
 
Old 08-17-2009, 06:44 PM   #8
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

I installed GRUB boot loader into the /dev/sda1 partition.

would need a bootloader in mbr to chainload to it.

as mentioned put grub in mbr is the safest.

if you are not using ext4 the /boot partition or /boot sub-folder to / can run on grub2.

2) dd command would have been better as it can copy over mbr but why would you want to?
It would be safer to do a new partition table and a clean install.
This assumes you have backups.

but your kernel on ide may not have the modules for your sata....introducing a new error.

so IMHO it is better to do a clean install just to make sure new preferred distro detects and configs all your hardware.

Last edited by aus9; 08-17-2009 at 06:47 PM.
 
Old 08-18-2009, 02:27 AM   #9
centosboy
Senior Member
 
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137

Rep: Reputation: 116Reputation: 116
Quote:
Originally Posted by vino87 View Post
I installed GRUB boot loader into the /dev/sda1 partition.
When I boot up the system, I got the following error message.

mkrootdev: label /not found
mount : error 2 mounting ext3
pivotroot : pivot_root (/sysroot, /sysroot/intrd) failed : 2
unmount /initrd/proc failed : 2

kernel panic : No init found
Try passing init= option to kernel
did you do a

Code:
grub-install /dev/sda
drop the 1
 
  


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
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 09:42 PM
Re-installing Grub dth1 Ubuntu 3 08-25-2006 09:58 AM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
Re-installing XP with grub Rizla Linux - General 1 04-14-2004 07:43 AM
Installing GRUB 4ohfour Linux - Newbie 2 01-24-2004 05:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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