LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-20-2012, 05:47 PM   #1
vdamiano
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Booting phenomenon?


I have a 500GB SATA HDD (the only one in the system) running Ubuntu.
I've derided to replace it with a new 1TB SATA drive, so I backed up the whole old HDD on an external drive using fsarchiver.
Then I partitioned the new drive (one primary partition with nearly all the space and one swap partition) and restored the whole backup from the old drive on it - no problems.
Then I reinstalled GRUB:
grub-install --recheck /dev/sda
update-grub
No problems at all.

Now, when I have both HDDs connected, no matter how I set them up and which one is sda and primary it always boots from the old (500Gb) drive. However, when I disconnect the old drive and leave only the new one in the system it boots from it with no problems. Why?
 
Old 11-20-2012, 05:55 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi,

I suppose you did not delete the bootloader from the MBR of the old disk. You can do that with dd.
Code:
dd if=/dev/zero of=/dev/sd? bs=446 count=1
where the ? stands for the old disk.

Markus
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Boggling Modem Phenomenon mertle Linux - Networking 2 04-18-2007 06:03 PM
A quaint phenomenon about the MBR zwylinux Linux - Software 6 06-04-2006 10:41 AM
An interesting phenomenon - people like CLI Wartz General 2 07-04-2005 06:02 AM
Explanation of a phenomenon n3tw0rk Linux - Networking 1 11-10-2004 02:21 PM
Really neat phenomenon orgcandman General 0 05-20-2002 02:24 PM

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

All times are GMT -5. The time now is 02:58 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration