1. /dev/hda1 = /dev/hda3?
The usual remarks about being an ignorant newbie, etc.
I have Linux (RH 5.1) installed using 3 partitions (all of) my first hard
disk and one partition on my second hard disk. Originally, at least, it
was set up so that / was mounted on /dev/hda1 and /usr/local was
mounted on /dev/hda3. To make a long story short, I installed Solaris x86
on a second partition on disk 2 and, er, did some experimenting, with the
result that I was unable to boot Linux, though I'm not entirely sure why
it happened. After various acts of desperation I just went through the
RedHat 'update' option on the installation CDROM, which I guess just
created a new lilo.conf file, and now everything is back to normal, with
one strange exception. Here's what fdisk /dev/hda gives:
Device Boot Begin Start End Blocks Id System
/dev/hda1 1 1 609 1227712+ 83 Linux native
/dev/hda2 610 610 626 34272 82 Linux swap
/dev/hda3 627 627 1023 800352 83 Linux native
This is as things were before. However, for other purposes, the first
partition is now called "/dev/hda3" and the third partition is called
"/dev/hda1". /etc/lilo.conf reads:
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.0.34-0.6
label=linux
root=/dev/hda3
read-only
(I tried editing lilo.conf so that "/root=/dev/hda3" was replaced by
"/root=/dev/hda1", but that just caused the system to be unable to start,
I think the message was something about being unable to start a console.)
Here's what /etc/fstab says, as far as /dev/hda is concerned:
/dev/hda1 /usr/local ext2 defaults 1 1
/dev/hda3 / ext2 defaults 1 1
/dev/hda2 swap swap defaults 0 0
Here's what /etc/mtab says, as far as /dev/hda is concerned:
/dev/hda3 /
/dev/hda1 /usr/local ext2 rw 0 0
Question: why is the first partition being called "/dev/hda3" and the
third partition being called "/dev/hda1" (but not by fdisk)? Is there a
way to safely fix this?
Thanks.
RF
2. Adding IDE drive to OSR5.0.5
3. /dev/sr && /dev/sg
4. VNC into Linux server
5. HELP: 2>&1 > /dev/null != 2>&- > /dev/null ???
6. Should I 486/66dx2 --
7. rsh machine -n 'command >&/dev/null </dev/null &'
8. Help! cannot remove Linux partitions!
9. copy linux from /dev/hda1 to /dev/hdb1
10. cp /dev/hda1 /dev/hbb1 to clone linux system?
11. LILO, DOS on /dev/hda1, LINUX /dev/hdb1
12. accessing /dev/hda3 files from /dev/hda2 -- help!
13. 1.2.13 & win95 & /dev/lp0...