[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 201] New: The procedure described in the document "Making a Linux XFS Root filesystem" yield an unbootable system.



http://oss.sgi.com/bugzilla/show_bug.cgi?id=201

           Summary: The procedure described in the document "Making a Linux
                    XFS Root filesystem" yield an unbootable system.
           Product: Linux XFS
           Version: 1.1.x
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: High
         Component: xfsprogs
        AssignedTo: xfs-master@oss.sgi.com
        ReportedBy: ttruong@broadcom.com


If this is a userspace bug, what version of the package are you using:
1.1

What kernel are you using: 2.4.18-4SGI_XFS_1.1

Where did the XFS code come from?  (CVS, Linus, your distribution, etc):
http://oss.sgi.com under the link 'Making a Linux XFS Root filesystem"

Description of Problem:
The procedure to install XFS on the root file system is erronous.  The user 
will end up in a non-bootable system if the steps described therein was 
followed.

Step 8 says:
8.  Install the new lilo configuration
lilo -r /mnt

However, at this time, the old boot disk 9say /dev/hda1) is still specified in 
lilo.conf.  Doing "lilo -r /mnt" would write the disk boot sector to /dev/hda1 
and not to /dev/hdb1 (/mnt) as was intended.



How Reproducible: Just follow the steps described in the document step by step.


Steps to Reproduce:
1. 
2. 
3. 

Actual Results:
User ends up with an un-bootable system.

Expected Results:
user able to boot from the new disk with XFS as root.


Additional Information:
To fix the problem, I had to create a boot diskette as follows:

Step 7.1: Assuming the old EXT2 boot disk is at /dev/hda1, and the new XFS disk 
has been sucessfully copied, and that the new fstab reflecting the changes have 
been made in stepo 7.0.
7.1 Save the old fstab from the old EXT2 boot disk:
  # cd /etc
  # cp fstab fstab.ext2
  Copy the new fstab over since mkbootdisk will use this info to create the 
boot diskette
  # cp /mnt/etc/fstab ./fstab
  # mkbootdisk --compact `uname -r`
  Restored old fstab
  # cp fstab.ext2 fstab

8. Install the enw lilo configuration:
Boot from the newly created diskette and configure lilo:
  # /sbin/lilo -v -v -v



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.