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

cd 6.0.1 mount problem fromhd



Hi everyone,

I tried to copy the whole CD 6.0.1 to a hard disk partition an use the fromhd boot option, but it didn't work (it could not mount the given partition, tried all other ones and dropped me to the debug shell).

I looked into the init in the minitrt an found out, that the "-o" parameter to the mount command for reiserfs, ext3 and ext2 in trymount() was missing.

Attached is a patch - I hope it is helpfull.

Thank you and greetings,
  Bernd


--- init.orig	2009-04-09 12:27:39.000000000 +0200
+++ init	2009-04-09 13:02:02.000000000 +0200
@@ -118,9 +118,9 @@
  mount -t vfat -o "$RW",umask=000,shortname=winnt,noatime "$1" "$2" || \
   mount -t iso9660 -o ro "$1" "$2" || \
    ntfs-3g -o "$RW",umask=000,force "$1" "$2" || \
-    mount -t reiserfs "$RW",noatime "$1" "$2" || \
-     mount -t ext3 "$RW",noatime "$1" "$2" || \
-      mount -t ext2 "$RW",noatime "$1" "$2"
+    mount -t reiserfs -o "$RW",noatime "$1" "$2" || \
+     mount -t ext3 -o "$RW",noatime "$1" "$2" || \
+      mount -t ext2 -o "$RW",noatime "$1" "$2"
  return "$?"
 }
 

Reply to: