mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Steve G <linux_4ever@yahoo.com>
To: Valdis.Kletnieks@vt.edu
Cc: linux-kernel@vger.kernel.org
Subject: Re: Ext3 problems in dual booting machine with SE Linux
Date: Fri, 23 Jul 2004 14:21:31 -0700 (PDT)	[thread overview]
Message-ID: <20040723212131.86635.qmail@web50609.mail.yahoo.com> (raw)
In-Reply-To: <200407232046.i6NKkZ5V003482@turing-police.cc.vt.edu>

>Fix your boot to not use /dev/root, but an actual partition number.

Thanks for the suggestion, but booting is fine.

>What's happening is that /dev/sda3 is *both* your /mnt/target *and* your
>root filesystem.  So when you start rm -rf'ing, you trash your root filesystem
>and things go pear-shaped.

/dev/sda2 is / under 2.4
/dev/sda3 is /mnt/target under 2.4
/dev/sda3 is / under 2.6 
2.6 doesn't mount /dev/sda2.

title Red Hat Linux (2.4.20-31.9smp)
        root (hd1,0)
        kernel /vmlinuz-2.4.20-31.9smp ro root=/dev/sda2 hdd=ide-scsi
        initrd /initrd-2.4.20-31.9smp.img
title Test (2.6.7)
        root (hd1,2)
        kernel /boot/vmlinuz-2.6.7-1.437.build ro root=0803 hdd=ide-scsi
        initrd /boot/initrd-2.6.7-1.437.build.img

They both use different fstabs.

The problem is not that I trash my root filesystem under 2.4, my problem is I
cannot unmount /mnt/target after I have been in SE Linux and ran fixfiles. My
method of recovery is to remove files from /mnt/target until I get corruption
detected at boot which finally lets me run mke2fs to get it back.

What I really wished is that I can unmount the filesystem, run mke2fs, remount it
and start doing whatever. My root filesystem is fine. /mnt/target is fine as long
as I don't run fixfiles.

BUT...this does point out the corruption that I have come to depend on...which is
wrong.

Best Regards,
-Steve Grubb


	
		
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/

  reply	other threads:[~2004-07-23 21:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-23 15:37 Steve G
2004-07-23 17:37 ` James Morris
2004-07-23 19:01   ` Steve G
2004-07-23 19:44     ` Stephen C. Tweedie
2004-07-23 20:58     ` Valdis.Kletnieks
2004-07-23 20:46 ` Valdis.Kletnieks
2004-07-23 21:21   ` Steve G [this message]
2004-07-23 21:28     ` Valdis.Kletnieks

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=20040723212131.86635.qmail@web50609.mail.yahoo.com \
    --to=linux_4ever@yahoo.com \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    /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®