LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 03-10-2015, 10:01 PM   #31
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,792

Rep: Reputation: 408Reputation: 408Reputation: 408Reputation: 408Reputation: 408

Quote:
kennel /vmlinuz-2.4.21-4.EL ro root=/dev/hda5 hda=ide-scsi hdb=ide-sci apic
kennel should be kernel. Also you have both hda=ide-scsi and hdb=ide-scsi, how many hard drives is on this computer? maybe root=/dev/hdb5
 
Old 03-10-2015, 10:04 PM   #32
tearsforhari
Member
 
Registered: Mar 2015
Posts: 79

Original Poster
Rep: Reputation: Disabled
I just mistyped kernel. That is ok.
I have one harddrive. I tried removing both hda=ide-scsi and hdb=ide-scsi. But the error got worse. Should I just try to remove one?


Last edited by tearsforhari; 03-10-2015 at 10:13 PM.
 
Old 03-11-2015, 12:33 PM   #33
odin_ago
Member
 
Registered: Mar 2011
Posts: 61

Rep: Reputation: 1
To see how much space a directory occupies, use
Code:
du -s -h directory_name
. See also
Code:
man du
for more du options.

The problem of your original system looks for me like: your kernel thinks that to use your disk (or the partition /dev/sda5), it needs a particular module called block-major-8 , but it cannot find this module. (Another interpretation would be that /sbin/modprobe is missing, but this looks less probable.) Causes I can think of are (note that things can be more complicated because of the old kernel, which I don't know how it works) :
1. This type of disk really needs this module, previously it was built into the kernel, and now it is missing or is build as a separate module, which is located in a place where the kernel cannot find it. (You have a new kernel?)
2. This type of disk really needs this module, previously the module was present in the appropriate directory, and now it is lost.
3. The disk is now physically or logically damaged, and the kernel thinks about a wrong module, which is not there.

Do you remember what you were doing before the error appeared? Did you upgrade or rebuild the kernel? Did you upgrade initramfs and do you have a copy of the old one? Did you do any other upgrades?
 
Old 03-11-2015, 02:22 PM   #34
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Quote:
Originally Posted by fatmac View Post
If you can boot a live distro, use it to copy your work to another disk. Once you have confirmed that you have a back up, then try to get your booting sorted. (By the way, it looks like you needed sda3 not sda5.)

Don't use dd unless you are sure you know what you are doing as one mistake can lose you all your work.
It's easier to see what your are doing with a graphical program. The GNOME Disk Utility in Ubuntu 14 and Fedora 19 on up has the capability to clone drives. It's a very deliberate thing and it's a lot harder to mess up than using dd.

If it were on my box (and I've been in this sort of position before, its no fun) I would to boot your system up from a live medium. I assume that since you are a professor that you have access to a computer lab at your university. If you don't have another computer to work with, try using a PC in the lab to burn an image of a newer distro like Fedora or Ubuntu. At least from there you can access the files in your home folder and use your system from the live disk until you have a functional system. You can also determine if your harddrive was jostled while moving it, hopefully that is not the case.

Next, I would find a good deal on a brand new harddrive. The Western Digital Scorpio Blacks are good and fast, but if you don't feel like spending that much, there are all sorts of other options out there.

From there you can copy your data to the new harddrive, reinstall RHEL if you like (preferably a newer version than what you have considering the shellshock bug) and install that. Assuming you were using GNOME on RHEL 3, then KDE 4 or 5 should be pretty familiar to you. The new GNOME is nothing like what it used to be, but give it a try if you like. It's kind of an acquired taste.

Just my 2 cents on the issue, hope it helped.
 
Old 03-11-2015, 10:17 PM   #35
tearsforhari
Member
 
Registered: Mar 2015
Posts: 79

Original Poster
Rep: Reputation: Disabled
Thanks, both of you: Well, two things happened. My university constantly shuts our power off while my linux box is running, maybe too many times of improper shut downs. Last, I shut down the machine properly and moved it to my home. I was very careful not to drop it. But at home that's when my problems started.

Yes, I think that there is a module missing or some other file got corrupted on shut down more than I think of a physical problem.

I have a brand new harddrive of the same type and another 32-bit Dell with a graphics card containing the 3-pin output for graphics. So, yes, I plan on installing RELH 6.6 on that i386, especially now I have all of them from the old machine. But it will be a pain, and I have to find my notes on changing some setting in some video driver(?) from 0 to 1 to get the 3D goggles to work--can't remember exactly. The rest will just take time.

Every 5 years or so, I have to start all over again with my linux machines, because there isn't a SuperDuper equilavent to Mac. I need a solution to make an image of my drive after I reinstall everything. Perhaps I will try using Ubuntu 14 on cloning RELH6...if that will work...? In either case, when I get to that point, I will ask for help.

I'm still open to any suggestions. Forgive me for crying. I made a living off that one machine for 10 years.
 
Old 03-12-2015, 02:55 PM   #36
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Quote:
Originally Posted by tearsforhari View Post
Thanks, both of you: Well, two things happened. My university constantly shuts our power off while my linux box is running, maybe too many times of improper shut downs. Last, I shut down the machine properly and moved it to my home. I was very careful not to drop it. But at home that's when my problems started.

Yes, I think that there is a module missing or some other file got corrupted on shut down more than I think of a physical problem.

I have a brand new harddrive of the same type and another 32-bit Dell with a graphics card containing the 3-pin output for graphics. So, yes, I plan on installing RELH 6.6 on that i386, especially now I have all of them from the old machine. But it will be a pain, and I have to find my notes on changing some setting in some video driver(?) from 0 to 1 to get the 3D goggles to work--can't remember exactly. The rest will just take time.

Every 5 years or so, I have to start all over again with my linux machines, because there isn't a SuperDuper equilavent to Mac. I need a solution to make an image of my drive after I reinstall everything. Perhaps I will try using Ubuntu 14 on cloning RELH6...if that will work...? In either case, when I get to that point, I will ask for help.

I'm still open to any suggestions. Forgive me for crying. I made a living off that one machine for 10 years.
3D goggles? You mean VR? Have no experience with that, maybe you could contact the manufacturer on that one.

Ubuntu should work just fine for cloning RHEL 6 to your new harddrive, however, you could download CentOS (RHEL without RedHat branding) and perform a clean install. That would be best. Or, it seems you are familiar with Mac OS X, Ubuntu 14 would probably seem pretty comfortable to you. You'll have to try it to find out for sure.

Here is a guide on cloning drives with Disks, which is included with Fedora, RHEL/CentOS 7, and Ubuntu. In this example, it uses an image of Fedora to a USB drive, but the concept is the same. You may need to resize your partitions afterwards.
http://fedoramagazine.org/how-to-mak...g-gnome-disks/

Either way you will need to copy your home folder to your new install. Your files should be under /home/yourusername. Just copy everything (including folders that include a . in front of the name to your new home folder, those are application settings) and you should have all your files and your application settings.
 
Old 03-12-2015, 03:45 PM   #37
odin_ago
Member
 
Registered: Mar 2011
Posts: 61

Rep: Reputation: 1
I'm afraid I will give up soon, because maybe the error is somehow related with the old kernel rules. For now, please give the following information:
1. Boot from CD
2. For each initrd file you have (let's say, its name is /mnt/sysimage/boot/initrd) :
3. Create a temporary directory
Code:
mkdir /tmp/initrdfs
4. Mount the initrd file to that directory
Code:
mount -r -o loop -t cramfs /mnt/sysimage/boot/initrd /tmp/initrdfs
5. List all files in that initrd
Code:
find /tmp/initrdfs
ant post the output here.
 
Old 03-14-2015, 09:59 AM   #38
tearsforhari
Member
 
Registered: Mar 2015
Posts: 79

Original Poster
Rep: Reputation: Disabled
Code:
>mount -r -o loop -t cramfs /mnt/sysimage/boot/initrd /tmp/initrdfs
mount: ioct1: LOOP_SET_FD: Bad file descriptor
mount: Could not setup loop device
 
Old 03-14-2015, 08:07 PM   #39
tearsforhari
Member
 
Registered: Mar 2015
Posts: 79

Original Poster
Rep: Reputation: Disabled
I've installed RHEL 5.11 on a 2004 DELL with a 3D-graphics card. I wasn't able to install RHEL 6.6. It kept saying CD Drive Not Found. I believe RHEL 6.6 doesn't support older machines. Please let me know if there is a work around.

In any case, I am reinstalling all my old programs. However, I am trying to get the machine to recognize my old internal drive as a second disk. Right now, I don't find it. I tried:
Code:
>ls -l /dev/sd*
/dev/sda2
/dev/sda
/dev/sda1
RHEL 5.11 doesn't recognize fdisk -l either.

I took out the tab in back of the harddrive too. The one for Master or Slave. I can't remember if that is important.

I would copy all the contents of my old harddrive onto a portable. But RHEL only recognizes vfat formatted drives. I don't know if I have one large enough.

Last edited by tearsforhari; 03-14-2015 at 08:43 PM.
 
Old 03-15-2015, 08:02 AM   #40
odin_ago
Member
 
Registered: Mar 2011
Posts: 61

Rep: Reputation: 1
Sorry, but in this situation (the disk not present in RHEL 5.1) I don't have any idea about what can help. And since your situation is now completely different from what you started with, I would recommend to create a new topic with a description of the present situation now.
 
Old 03-15-2015, 09:19 AM   #41
tearsforhari
Member
 
Registered: Mar 2015
Posts: 79

Original Poster
Rep: Reputation: Disabled
Yup. But I just figured out that one of the field's crystallographic programs (XPLOR) only works on the Linux-2.4 kernels in RHEL 3, not this Linux-2.6 in RHEL 5 that I installed. So, on my old machine, I will likely reinstall RHEL 3 unless I can contact the new care takers of the program to recompile another binary for yet another platform.

That is why upgrading OSs isn't always the best idea. I appreciate the concern about updates for security, but personally I do not see the reward benefit to get the latest version of any OS, including linux. It's a waste of time. And, I find it disenchanting of RHEL not to support older chips. One of the great things about linux is that they run nicely on old machines, especially as servers for websites. But apparently not anymore! On top of that, even though I paid $50 for RHEL subscription, they tell me that only allows me support for yum questions M-F, not on the weekend. And they don't support their earlier products, reminiscent of dreaded Microsoft policies. I thought the world of linux was different.

With that said, all my field's crystallographic program work on Macs. I don't feel comfortable installing an NVIDIA FX -gl card for the 3D graphics on a Mac, and those new cards have sky rocketed in price. So, I will likely keep these two linux boxes for that one program for another 10 years, but migrate to Mac for the rest.

Odin_ago and everyone:
I really appreciate your efforts. It did help me. We managed to access my old data and programs. And, I am on my way to get a hard drive duplicator so I have a way to clone drives. My latest article about rescuing a devastating genetic mutation, where I used all these crystallographic programs in my analyses, will come online shortly. Once it does, I will provide a link if you are interested. Thank You

Last edited by tearsforhari; 03-15-2015 at 10:43 AM.
 
Old 03-15-2015, 10:59 AM   #42
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 18.3 MATE, Solus 3 MATE, antiX-17, MX-17.1
Posts: 2,408
Blog Entries: 10

Rep: Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870
tearsforhari,

Quote:
My latest article about rescuing a devastating genetic mutation, where I used all these crystallographic programs in my analyses, will come online shortly. Once it does, I will provide a link if you are interested
Yes please.
 
Old 03-16-2015, 11:15 AM   #43
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Quote:
Originally Posted by tearsforhari View Post
I've installed RHEL 5.11 on a 2004 DELL with a 3D-graphics card. I wasn't able to install RHEL 6.6. It kept saying CD Drive Not Found. I believe RHEL 6.6 doesn't support older machines. Please let me know if there is a work around.

In any case, I am reinstalling all my old programs. However, I am trying to get the machine to recognize my old internal drive as a second disk. Right now, I don't find it. I tried:
Code:
>ls -l /dev/sd*
/dev/sda2
/dev/sda
/dev/sda1
RHEL 5.11 doesn't recognize fdisk -l either.

I took out the tab in back of the harddrive too. The one for Master or Slave. I can't remember if that is important.

I would copy all the contents of my old harddrive onto a portable. But RHEL only recognizes vfat formatted drives. I don't know if I have one large enough.
What model is the Dell? I have an 04 laptop and the CD drive is recognized just fine with all the distros I've tried on it. Chipset on something that old should be picked up right away. Have you tried CentOS 7? I think that would simplify your life dramatically, considering what we see here.

What is the output of fdisk -l? It could be as simple as downloading the RPM package, assuming you can find one that works with RHEL 5.
 
Old 03-17-2015, 10:04 PM   #44
tearsforhari
Member
 
Registered: Mar 2015
Posts: 79

Original Poster
Rep: Reputation: Disabled
I was trying to install RHEL 6.6 on a Dell Precision 670 (2004 I think). During installation, after the initial boot off the CD, it said CD drive not found, and I could never get beyond that to a prompt.

I just finished installing RHEL 3 again that works for all my field-specific programs, which were compiled with kernel-2.4.
These programs won't all work on RHEL 4, 5, or 6. Nevertheless, I wish I knew if RHEL 6 would work on old Dells. I have a couple of more of them that I was going to try, a Dell Precision 380 that is maybe 2010.

How similar is Centos? I was reading that there is an extra step needed for Centos when installing the video driver. So, it's not exactly the same as RHEL.

RHEL 5 didn't recognize fdisk -l. But I was ultimately able to mount my old disks in both RHEL 5 and 3. I bought a USB to sata adaptor and am using my internal hard drives as portable externals. Life is good now, although I never did figure out why RHEL 3 kept giving me that message:

VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernal panic: VFS: Unable to mount root fs on 00:00

I tried /dev/sba3 and /dev/sba5. There is something else wrong. But now I am at a point where I am going to do a fresh install of RHEL 3 on that Dell Precision 340 (2004).

Last edited by tearsforhari; 03-17-2015 at 10:06 PM.
 
Old 03-18-2015, 12:12 AM   #45
smeezekitty
Senior Member
 
Registered: Sep 2009
Location: Washington U.S.
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Yes, I have been working on this research project for 10 years of my life, working on an important medical problem. My computer is equipped with special 3D modeling hardware and a lot of specialized crystallographic software. I updated the system once from RH9 to RHEL 3 during that time, but not all the home-made programs/binaries would necessarily work if I upgraded constantly. Plus, it is a lot of work. I never had a security comprise once. The computer is behind a firewall and not necessarily always plug in. The university would have informed me if there were problems. Linux is great in that way.
Seriously. If you are dealing with that kind of data, MAKE REGULAR BACKUPS. I can't stress this enough.
Preferably off site backups but backing up the important stuff to a USB hard drive would be better than nothing.
 
  


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
VFS: cannot open root device "sda3" or unknown-block (0,0) snakeo2 Linux - Newbie 10 07-05-2012 08:23 PM
VFS: cannot open root device "sda1" or unknown-block(2,0) elninio Linux - General 2 10-29-2008 04:05 PM
2.6.19: VFS: Cannot Open root device "sda1" or unknown-block(0,0) havok1977 Linux - Kernel 18 05-03-2007 04:25 PM
FC2; VFS: Cannot open root device "LABEL=/" or unknown-block(0,0) Starchild Fedora 11 01-18-2006 03:39 AM
VFS: Cannot open root device "1601" or unknown-block(22,1) takehora Slackware 3 06-11-2004 08:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

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