openSUSE Forums > Install/Boot/Login » Upgrading hard drive

Go Back   openSUSE Forums > Install/Boot/Login
Forums FAQ Members List Search Today's Posts Mark Forums Read


Install/Boot/Login Questions about installation, login, boot issues, partitioning, file systems, software that runs at boot (GRUB, LILO, boot scripts)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 19-Apr-2009, 08:14
Puzzled Penguin
 
Join Date: Apr 2009
Posts: 15
jcolby76 hasn't been rated much yet
Default Upgrading hard drive

Forum members -

I tried to upgrade the HD in my laptop. The first thing that I did was to clone my old laptop drive to my new one using DD. I then installed the new drive, and it boots to grub but it wont boot all the way because it can't find the root drive. I then booted a liveCD and took a look at the fstab and noticed that it used disk-by-id so I got the new disk ID and edited fstab, and tried to re-boot and it still could not find the root disk. Is there something else that I need to change in grub or something to get this to boot?

Any advice would be greatly appreciated.

Thanks,
James
Reply With Quote
  #2 (permalink)  
Old 19-Apr-2009, 08:39
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 5,232
ken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud of
Default Re: Upgrading hard drive

Your disk by id is probably still wrong. You didn't need to edit menu.lst (did you remember this one?) and fstab manually, you could have booted to the repair system on the CD and it would have done the fix. One thing, the 11.1 repair system has a bug, it seems to indicate it failed in the repair but it actually has worked.

The other way is to edit menu.lst and fstab to use disk by path, e.g. /dev/sda2 for the time being, and then fix it up later once you have it running.
Reply With Quote
  #3 (permalink)  
Old 19-Apr-2009, 08:50
amdturion's Avatar
Student Penguin
 
Join Date: Jun 2008
Location: Rio de Janeiro
Posts: 91
amdturion hasn't been rated much yet
Send a message via Skype™ to amdturion
Default Re: Upgrading hard drive

Hi jcolby,

It could be useful you take a look to my last post, about cloning and resizing disk.
At begin I've got some failures, but the final result has succeeded:

Cloning and resizing disk (my approach) - openSUSE Forums

BR
__________________

opensuse 11.1 - Linux 2.6.27.29-0.1-default x86_64
AMD Turion(tm) 64 Mobile Technology MK-36 - GeForce Go 6150 - Gnome 2.26.3
Reply With Quote
  #4 (permalink)  
Old 19-Apr-2009, 09:10
Puzzled Penguin
 
Join Date: Apr 2009
Posts: 15
jcolby76 hasn't been rated much yet
Default Re: Upgrading hard drive

Quote:
Originally Posted by ken_yap View Post
Your disk by id is probably still wrong. You didn't need to edit menu.lst (did you remember this one?) and fstab manually, you could have booted to the repair system on the CD and it would have done the fix. One thing, the 11.1 repair system has a bug, it seems to indicate it failed in the repair but it actually has worked.

The other way is to edit menu.lst and fstab to use disk by path, e.g. /dev/sda2 for the time being, and then fix it up later once you have it running.
I forgot to edit the menu.lst file. After I did that everything was fine.
Reply With Quote
  #5 (permalink)  
Old 19-Apr-2009, 16:00
Explorer Penguin
 
Join Date: Jan 2009
Posts: 112
NigmaToolin can hope their reputation improves
Default Re: Upgrading hard drive

Quote:
Originally Posted by jcolby76 View Post
Forum members -

I tried to upgrade the HD in my laptop. The first thing that I did was to clone my old laptop drive to my new one using DD. I then installed the new drive, and it boots to grub but it wont boot all the way because it can't find the root drive. I then booted a liveCD and took a look at the fstab and noticed that it used disk-by-id so I got the new disk ID and edited fstab, and tried to re-boot and it still could not find the root disk. Is there something else that I need to change in grub or something to get this to boot?

Any advice would be greatly appreciated.

Thanks,
James
You are using dd for something it is not intended to do

[despite what I consider to be a misguided 'howto' on these forums, defended ably by its author's use of his moderator powers - and at the cost of giving me one of the worst site reputation ratings on this site for challenging his document]

oldcpu: Note this as another reason not to use dd for cloning.
__________________
nb My poor rep is a bitcshlap for having dared to disagree with a moderator [oldcpu] over his howto, which should have had some fairly strong caveats. -15 points applied in 1 hit - moderator strength - for a personal disagreement, not a moderation issue.
Reply With Quote
  #6 (permalink)  
Old 20-Apr-2009, 18:15
Puzzled Penguin
 
Join Date: Apr 2009
Posts: 15
jcolby76 hasn't been rated much yet
Default Re: Upgrading hard drive

Quote:
Originally Posted by NigmaToolin View Post
You are using dd for something it is not intended to do

[despite what I consider to be a misguided 'howto' on these forums, defended ably by its author's use of his moderator powers - and at the cost of giving me one of the worst site reputation ratings on this site for challenging his document]

oldcpu: Note this as another reason not to use dd for cloning.
I am not sure if there is a better way to do the upgrade than the way I did it, but it worked for me. I do see one odd thing though, my laptop will not boot now if I have the external USB drive connected. Does anyone have any idea what would cause this or how I could fix it? Grub complains that it can find my root drive. If I disconnect my USB drive the laptop boots up just fine.

Thanks,
James

Last edited by jcolby76; 20-Apr-2009 at 18:17. Reason: Edited for clarity
Reply With Quote
  #7 (permalink)  
Old 20-Apr-2009, 18:19
Flux Capacitor Penguin
 
Join Date: Jun 2008
Location: GMT+10
Posts: 5,232
ken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud ofken_yap has a reputation to be proud of
Default Re: Upgrading hard drive

Check the boot devices and boot order in the BIOS, if you don't want it to boot from the external drive you should disable that in the BIOS.
Reply With Quote
Reply

Bookmarks

Tags
boot, grub, hard drive, upgrade


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2