upgraded motherboard, hda (/boot & swap1) has interesting problem
Mike Odegard
dev at vikingcs.com
Thu Mar 11 17:32:38 PST 2004
Ralph Shumaker wrote:
> Mike Odegard wrote:
>
>> Ralph Shumaker wrote:
>>
>>>
>>> I did not really know what to do, so I knew that I just needed to
>>> get booted so that I would have acces to KPLUG. So, as root, I put
>>> "#" in front of the line for that swap partition (hda2) and
>>> rebooted. This time was the same except for no complaint about
>>> swap. This time, I chose control-D (thinking that "continue" meant
>>> "continue"), which surprisingly rebooted. As root, I put "#" in
>>> front of the line for LABEL=/boot... and rebooted.
>>>
>>> I am now up and running, presenting this strange problem to the list.
>>>
>>> I'm just not sure how to go about fixing it.
>>>
>> It sounds like you have some partition conflicts.
>> If the system is booting now, perhaps you could reply with current
>> /etc/fstab, and the output of fdisk print for each drive.
>
>
> Happy to oblige:
>
> [rafael at localhost rafael]$ cat /etc/fstab
> LABEL=/ / ext3
> defaults 1 1
> LABEL=/av /av ext3
> defaults 1 2
> #LABEL=/boot /boot ext3
> defaults 1 2
> none /dev/pts devpts
> gid=5,mode=620 0 0
> none /proc proc
> defaults 0 0
> none /dev/shm tmpfs
> defaults 0 0
> #/dev/hda2 swap swap
> defaults 0 0
> /dev/hde1 swap swap
> defaults 0 0
> /dev/cdrom /mnt/cdrom udf,iso9660
> noauto,owner,kudzu,ro 0 0
> /dev/fd0 /mnt/floppy auto
> noauto,owner,kudzu 0 0
>
> [rafael at localhost rafael]$
>
> [root at localhost root]# fdisk -l
>
> Disk /dev/hde: 81.9 GB, 81964302336 bytes
> 16 heads, 63 sectors/track, 158816 cylinders
> Units = cylinders of 1008 * 512 = 516096 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hde1 * 1 260 131008+ 82 Linux swap
> /dev/hde2 4162 24966 10485720 83 Linux
> /dev/hde3 24967 158816 67460400 83 Linux
>
> Disk /dev/hda: 245 MB, 245571584 bytes
> 16 heads, 31 sectors/track, 967 cylinders
> Units = cylinders of 496 * 512 = 253952 bytes
>
> Disk /dev/hda doesn't contain a valid partition table
>
> [root at localhost root]#
>
>
Since /dev/hda hard drive appears corrupted, consider removing it.
While it's tempting to use it, it's extremely slow compared to the 80 GB
disk, and used as swap will really slow down your computer.
Also, consider replacing the "LABEL" items with /dev/hde names.
The command 'df' should show the matching dev names for / and /av.
More information about the KPLUG-List
mailing list