Bug 50819 - mkinitrd failed to parse /etc/fstab
Summary: mkinitrd failed to parse /etc/fstab
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mkinitrd
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matt Wilson
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-03 16:44 UTC by hjl
Modified: 2013-06-28 14:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-08-03 16:45:38 UTC
Embargoed:


Attachments (Terms of Use)
A patch (382 bytes, patch)
2001-08-03 16:45 UTC, hjl
no flags Details | Diff

Description hjl 2001-08-03 16:44:57 UTC
When you have

#LABEL=/                 /                       ext3    defaults        1
1
/dev/sda1               /                       ext3    defaults        1 1

in /etc/fstab, mkinitrd will put

#!/bin/nash

echo "Loading scsi_mod module"
insmod /lib/scsi_mod.o 
echo "Loading sd_mod module"
insmod /lib/sd_mod.o 
echo "Loading aic7xxx module"
insmod /lib/aic7xxx.o 
mount -t proc /proc /proc
echo Mounting /proc filesystem
echo Creating root device
mkrootdev /dev/root
echo 0x0100 > /proc/sys/kernel/real-root-dev
umount /proc
echo Mounting root filesystem
mount --ro -t ext3
ext3 /dev/root /sysroot
pivot_root /sysroot /sysroot/initrd

in linuxrc.

Comment 1 hjl 2001-08-03 16:45:33 UTC
Created attachment 26093 [details]
A patch

Comment 2 Matt Wilson 2001-08-03 16:52:48 UTC
done.



Note You need to log in before you can comment on or make changes to this bug.