HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Problem with root disk
Operating System - Linux
1830045
Members
15266
Online
109998
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2002 04:03 AM
10-12-2002 04:03 AM
Problem with root disk
Hi folks, I have a fairly simple problem...I moved the HDD with the linux boot and root partitions from hdc to hdb (ie I unplugged the disk from master on secondary IDE to slave on primary IDE). Of course, I can't boot this coz lilo can't find hdc, so I boot off a cd-rom, mount the root fs (with /boot on it also) and chroot to it. edit /etc/lilo.conf and /etc/fstab changing hdc1 with hdb1, run lilo, eveything is cool. Now, when I boot I get this error during kernel boot:
kmod: failed to exec /sbin/modprobe -s -k ide-disk, errno = 2
hdb: driver not present
VFS: Cannot open root device "341" or 03:41
Please append a correct "root=" boot option
kernel panic: VFS: Unable to mount root fs on 03:41
Even when I enter "linux root=/dev/hdb1" it still gets the same error.
I am sure I have done something simple wrong here. Does anyone know if there is perhaps an easier way to keep linux booting even if you move the location of the partition or disks? This seems such a big pain.
Any hints how to get it booting normally again? Thanks for the help.
- Andy Gray
kmod: failed to exec /sbin/modprobe -s -k ide-disk, errno = 2
hdb: driver not present
VFS: Cannot open root device "341" or 03:41
Please append a correct "root=" boot option
kernel panic: VFS: Unable to mount root fs on 03:41
Even when I enter "linux root=/dev/hdb1" it still gets the same error.
I am sure I have done something simple wrong here. Does anyone know if there is perhaps an easier way to keep linux booting even if you move the location of the partition or disks? This seems such a big pain.
Any hints how to get it booting normally again? Thanks for the help.
- Andy Gray
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2002 10:01 PM
10-13-2002 10:01 PM
Re: Problem with root disk
could you recheck your /etc/fstab file?
normally it should be no problem to move drives as long as the changes are reflected in the fstab file. you said you changed hdc1, but is that the only linux partition on that drive?
normally somewhere since redhat 7 it is possible to give partitions labels, which should make this kind of thing easier. (man e2label)
normally it should be no problem to move drives as long as the changes are reflected in the fstab file. you said you changed hdc1, but is that the only linux partition on that drive?
normally somewhere since redhat 7 it is possible to give partitions labels, which should make this kind of thing easier. (man e2label)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2002 03:36 AM
10-14-2002 03:36 AM
Re: Problem with root disk
Hi,
I have only 2 partitions on the drive. one is / (6 GB) and the other is swap. The / partition (hdb1 currently) is an ext3 file system.
/etc/fstab had this:
LABEL=/ / ext3 defaults 1 1
... then the rest eg cdroms etc
I tried replacing the LABEL=/ with an explicit /dev/hdb1, but the same problem occured next reboot.
Any other suggestions? Do you need more information?
As a summary, hda1 is a 40 GB partition with win98 running, lilo is installed into the MBR on this drive. hdb has two partitions, hdb1 is ext3, hdb2 is swap. that is all on that drive. hdb was previously hdc. As you suspected, it doesn't seem likely that it is a problem with lilo, since the kernel does infact load...but somewhere there is a configuration problem stopping further booting, and this is related to the change of device addresses.
Any further help would be appreciated. Thanks.
- Andy Gray
I have only 2 partitions on the drive. one is / (6 GB) and the other is swap. The / partition (hdb1 currently) is an ext3 file system.
/etc/fstab had this:
LABEL=/ / ext3 defaults 1 1
... then the rest eg cdroms etc
I tried replacing the LABEL=/ with an explicit /dev/hdb1, but the same problem occured next reboot.
Any other suggestions? Do you need more information?
As a summary, hda1 is a 40 GB partition with win98 running, lilo is installed into the MBR on this drive. hdb has two partitions, hdb1 is ext3, hdb2 is swap. that is all on that drive. hdb was previously hdc. As you suspected, it doesn't seem likely that it is a problem with lilo, since the kernel does infact load...but somewhere there is a configuration problem stopping further booting, and this is related to the change of device addresses.
Any further help would be appreciated. Thanks.
- Andy Gray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2002 03:46 AM
10-14-2002 03:46 AM
Re: Problem with root disk
Hi,
I forgot to mention that when I ran e2label /dev/hdb1, the output said that it's label was "/", which would correspond to what was in /etc/fstab.
Also, I can't remember if I mentioned that this isn't necessarily a kernel specific issue, since I get the same error with a couple of different kernels which were backups (old kernels).
Thanks again folks.
- Andy Gray
I forgot to mention that when I ran e2label /dev/hdb1, the output said that it's label was "/", which would correspond to what was in /etc/fstab.
Also, I can't remember if I mentioned that this isn't necessarily a kernel specific issue, since I get the same error with a couple of different kernels which were backups (old kernels).
Thanks again folks.
- Andy Gray
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP