LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   32-bit Wheezy on 64-bit computer? (https://www.linuxquestions.org/questions/debian-26/32-bit-wheezy-on-64-bit-computer-4175540222/)

lucmove 04-20-2015 09:44 AM

32-bit Wheezy on 64-bit computer?
 
My computer passed away last night, after six years of good, daily service. I will have to buy a new one.

It was a 32-bit machine running Debian Wheezy. The new computer is going to be 64-bit. Can I just transplant my old hard disk into the new machine, boot up and use it, or is that asking for trouble? I have lots of work to do, the new machine has to hit the ground running.

rokytnji 04-20-2015 10:08 AM

Won't hurt to try. I've done it. You may have to change network connections like wlan0 to wlan1. Whatever "ifconfig" shows. Newer gear and Wheezys kernel may not play well together as far as getting newer things working.

I am on the 4 kernel on Testing myself in AntiX 15.

Code:

$ inxi -S
System:    Host: antix1 Kernel: 4.0.0-antix.1-486-smp i686 (32 bit)
          Desktop: IceWM 1.3.8
          Distro: antiX-15-beta1-V_386-full Killah P 16 March 2015


jefro 04-20-2015 08:37 PM

I too would suggest to just try. Doubt it would be the best solution but the fastest. More than a few problems could show up however. From boot issues, to disk naming/mounts, as above nic naming, and video issues.

Might be worth it to save this image off to a vm and keep it while you are building up a new system on 64 bit.

Hungry ghost 04-20-2015 09:34 PM

I once replaced my motherboard and used the same HDD where I had Debian installed. It surprised me that I had no problems at all -- after assembling the computer with the new motherboard I pressed the power button and it booted straight to Debian.

Something that might have helped is that I was using Debian Sid, which has a more up-to-date kernel than Debian Stable. In addition, I used the same graphics card I was using before, so I didn't have to install new graphics drivers or anything.

lucmove 04-21-2015 12:10 AM

Is it OK to put a notebook hard disk in a desktop? Is there any difference in voltage, wattage or anything like that?

veerain 04-21-2015 12:31 AM

First you need to check data interface is supported. PATA IDE and SATA IDE can be used with desktops. Then desktop power supplies usually give 5 and 12 Volt molex connecters or may be some other type of connector. You laptop HDD drive would have a label specifying it's power requirements.

replica9000 04-21-2015 08:04 AM

Using a 32-bit install on a 64-bit system no problem. You may need to delete the old udev rules for your NIC if you wish to keep eth0 as interface name. Mount points shouldn't be an issue if you're using UUIDs in /etc/fstab. If you're using proprietary drivers, you'll need to make the necessary changes for those too. My install is on its 3rd cpu/mb hardware change with no issues.

maples 04-21-2015 08:14 AM

Quote:

Originally Posted by lucmove (Post 5350539)
Is it OK to put a notebook hard disk in a desktop? Is there any difference in voltage, wattage or anything like that?

As long as your notebook HDD has the standard SATA data and power connectors, you should be fine.

I've actually done it before. With SATA there are no problems at all. However, I think the physical connectors on IDE hard drives are different for laptop drives, which could become problamatic. However, you said your computer was about 6 years old, which (I think) is new enough to use SATA, so you shouldn't have any issues.

Hope this helps!

lucmove 04-21-2015 08:48 AM

I can't boot because I can't get past Grub.

It's version 1.99. It goes quiet for a while then it gives up saying:

ALERT! /dev/disk/by-uuid/d3910etc... does not exist. Dropping to a shell!

But the shell is useless. It's not even responsive.

Grub currently looks like this:

load_video
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 6ef1.long.number.etc.
linux /vmlinuz-3.2.0-4-686-pae root=UUID=d3910.long.number.etc. ro quiet
initrd /initrd.img-3.2.0-4-686-pae

I have tried replacing the 'root=UUID=string' part with 'root=/dev/sda2' and 'root=(hd0,msdos2)' but neither works. In all cases, grub gives up saying that the root path does not exist.

Any idea on what grub should look like to make the system boot up? I have /boot on sda1 and / on sda2.

veerain 04-21-2015 09:04 AM

Best would be to run a Livecd and then check whether your hard drive gets detected and mount it to check further.

lucmove 04-21-2015 09:09 AM

I've done that, because I thought I might have to change fstab. The hard disk is detected. Grub is installed on it anyway. I wouldn't be even looking at grub if the HD hadn't been detected.

veerain 04-21-2015 09:18 AM

Did you try booting the kernel with grub command line. This way it can be fastly tested and when it works out, you make a appropriate cfg file.

lucmove 04-21-2015 09:37 AM

I think you're talking about grub 2. I said I have grub 1.99.

veerain 04-21-2015 09:57 AM

So grub 1.99 doesn't have command line. 1.99 is beta and 2.00 is stable. Just some bug fixes. I used to run, load kernels from command line in grub-1.99.

jefro 04-21-2015 09:04 PM

Boot to live media and fix naming usually to get past. May have to fix grub.

From live media peek at the hard drive to see the grub lines and mount point.


All times are GMT -5. The time now is 05:30 PM.