mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthias Andree <matthias.andree@stud.uni-dortmund.de>
To: feedback@suse.de, reiserfs-list@namesys.com,
	linux-kernel@vger.kernel.org
Cc: ewald.peiszer@gmx.at
Subject: Boot failure: msdos pushes in front of reiserfs
Date: Sun, 13 Jan 2002 23:38:03 +0100	[thread overview]
Message-ID: <20020113223803.GA28085@emma1.emma.line.org> (raw)

Hello,

I have been helping Ewald Peiszer (CC'd) to get his machine to boot.

My current analysis of his situation is this:

1. he junked some of his FAT16 partitions, joined two of them as hda13
   and uses hda11 ... hda13 for linux, formatted as ext2, swap,
   reiserfs, in that order

2. his boot fails after the initrd provided by SuSE's install process
   has loaded the reiserfs.o module, his boot logs reveal that the
   kernel mounts his hda13 (which is /) as msdos rather than msdos.

3. I presume that msdos is linked into the kernel, and is thus tried
   first as root file system, the kernel then panicks as it cannot find
   /sbin/init (of course, it's in ReiserFS format, not msdos).

4. I asked Ewald to boot with rootfstype=reiserfs, but he reported that
   this did not help, news:<a1sb7b$t2d2e$1@ID-47183.news.dfncis.de>
   (German-language).

5. It seems as though some traces of FAT16 shining through reiserfs
   still make msdos think it can actually mount the file system.

I see various points where this can be attacked:

1. SuSE and other distributors' installation tools, when formatting a
   partition with mkfs, should zero out the first couple of MBytes with
   dd if=/dev/zero of=/dev/hda13 bs=4096 count=1024 or something. I'm
   not exactly sure how much is needed to get rid of the msdos traces.

2. mkreiserfs could also zero out so much of old data on the FS so that
   the kernel reliably recognizes the FS as reiserfs and fails to mount
   that stuff as msdos

3. Distributors, when making their initrd stuff, should make sure that
   all Linux-native file systems are tried first.

4. rootfstype=reiserfs should be made work for the actual root fs, it
   may be broken through initrd mounts, can anyone verify this? (note: I
   did not verify it's not working, and I cannot currently tell the kernel
   version, Ewald can follow up).

Ewald has only recently migrated from Windows to Linux and direly wants
his installation to boot. For now, I asked him to recompile his kernel
to let msdos, umsdos and vfat be only modules rather than linked into
the kernel, rebuild his initrd with SuSE's mk_initrd and rerun lilo,
that should work around his problem, but it's certainly not good and may
turn away people from Linux who are less enduring and patient than
Ewald.

Thanks a lot in advance,

-- 
Matthias Andree

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."         Benjamin Franklin

             reply	other threads:[~2002-01-13 22:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-13 22:38 Matthias Andree [this message]
2002-01-14  6:50 ` [reiserfs-list] " Oleg Drokin
2002-01-14 11:16   ` Hans Reiser
2002-01-14 11:36     ` Oleg Drokin
2002-01-14 17:42       ` Andreas Dilger
2002-01-14 19:46         ` Hans Reiser
2002-01-14 20:21           ` Andrew Clausen
2002-01-14 20:21       ` Chris Mason
2002-01-14 20:29         ` Andrew Clausen
2002-01-14 14:00   ` Matthias Andree
2002-01-14 14:30     ` Oleg Drokin
2002-01-15 17:47       ` Matthias Andree
2002-01-17  6:38         ` Oleg Drokin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020113223803.GA28085@emma1.emma.line.org \
    --to=matthias.andree@stud.uni-dortmund.de \
    --cc=ewald.peiszer@gmx.at \
    --cc=feedback@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=reiserfs-list@namesys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®