Bug 50819 - mkinitrd failed to parse /etc/fstab
mkinitrd failed to parse /etc/fstab
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: mkinitrd (Show other bugs)
7.3
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Matt Wilson
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-08-03 12:44 EDT by hjl
Modified: 2013-06-28 10:24 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-08-03 12:45:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description hjl 2001-08-03 12:44:57 EDT
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 12:45:33 EDT
Created attachment 26093 [details]
A patch
Comment 2 Matt Wilson 2001-08-03 12:52:48 EDT
done.

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