Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been trying to move my old disk to a new machine. The old one ran RHEL4.0 & I want to be able to invoke that again. I get the message
Uncompressing Linux... Ok, booting the kernel.
Red Hat nash version 4.2.1.8 starting
mount: error 6 mounting ext3
mount: error 2 mounting none
switchroot: mount failed: 22
Kernel panic - not syncing: Attempted to kill init!
plugged disk to PC running Centos 6.4 and mounted root & boot
did a mount -t proc none /mnt/root/proc
when I ran mkinitrd --with=sata_via /initrd-new2.img 2.6.9-42.0.10.EL & successfully created it.then copied it to boot. Changed grub.conf & modprobe.conf Yet I have the same problem
Most grateful if someone can help
Most times there's two obstacles when migrating machines. The bootloader and the /etc/fstab with regards to device locations. If you're not using UUIDs (partition specific) to specify it's location, chances are that the /dev/ names are not the same so it fails to find things. The bootloader passes root= and /etc/fstab connects / with a device. Which is unlikely to match on new hardware.
There's also issues with differing BusID and Driver for xorg.conf if you get to the gui portion. If there is a gui portion.
[QUOTE=Shadow_7;5094288]Most times....
shadow 7 -thanks ...
can you please be more specific with all your points.. I have hardware background (ie soldering iron) ... fstab for me is to permanently mount ...how can I run fdisk to check this ..what & where is this /dev/ names & where is BusID and Driver for xorg.conf..... I'd be most grateful if you could kindly what & where need to look & do.
Jonh W -thanks..it is ext3 sata i installed a program on this machine an old version of a program i use for work.. lost my job a year ago so I thought I'd try get some practise...any help would be greatly appreciated
To get the UUID of a partition. Where ??? is the /dev/ name of the appropriate device (partition). /dev/sda1 or whatever applies. It should show up to some degree in /proc/partitions if you're unsure of the naming conventions.
In the bootloader, instead of root=/dev/??? use root=UUID=12345678-1234-1234-1234-0123456789abcdef where the UUID is what "your" UUID actually is.
In /etc/fstab, also replace /dev/??? with UUID=??? for the UUID in question. They are roughly equivalent for all modern purposes. Although that is an older version of things and may not support UUIDs. So you may end up guessing appropriate /dev/??? names depending on your device tree. You could also swap the hardware around to make things play well with the original software expectations. I.E. pulls all drives except that one so it might default to /dev/sdaX.
Looking for an updated repo that will keep up with the community squeeze releases that does not require me to switch over to Fedora for my media server. Is there one out there? If not I suppose I could make the switch, although I would much rather not as I have been enjoying the stability of centos
The slimdevices repo seems to have not gotten an updated since 7.7.2, which was in march.
Thanks and hopefully someone can point me in the correct direction. =
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.