Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #12237 > unrolled thread

Fedora 20 network install

Started by"Bill Cunningham" <nospam@nspam.invalid>
First post2014-10-08 14:57 -0400
Last post2014-10-10 17:08 -0400
Articles 7 — 3 participants

Back to article view | Back to comp.os.linux.misc


Contents

  Fedora 20 network install "Bill Cunningham" <nospam@nspam.invalid> - 2014-10-08 14:57 -0400
    Re: Fedora 20 network install Jerry Peters <jerry@example.invalid> - 2014-10-08 20:28 +0000
      Re: Fedora 20 network install "Bill Cunningham" <nospam@nspam.invalid> - 2014-10-08 16:44 -0400
    Re: Fedora 20 network install "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2014-10-08 18:57 -0400
      Re: Fedora 20 network install "Bill Cunningham" <nospam@nspam.invalid> - 2014-10-08 20:47 -0400
        Re: Fedora 20 network install "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2014-10-09 08:29 -0400
          Re: Fedora 20 network install "Bill Cunningham" <nospam@nspam.invalid> - 2014-10-10 17:08 -0400

#12237 — Fedora 20 network install

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-10-08 14:57 -0400
SubjectFedora 20 network install
Message-ID<m141f4$csk$1@speranza.aioe.org>
    Well I finally figured out the installer with 20 and I am up to the 
times :) But the thing is when I boot in single mode and try to unmount the 
root filesystem because I want to run e2fsck, I can't mount in RO mode. 
umount /dev/sdX worked before with my F17 and the root remounted itself in 
RO mode. I can't get this to happen now. Even when in single user mode.

Bill

[toc] | [next] | [standalone]


#12238

FromJerry Peters <jerry@example.invalid>
Date2014-10-08 20:28 +0000
Message-ID<m146q9$221$1@dont-email.me>
In reply to#12237
Bill Cunningham <nospam@nspam.invalid> wrote:
>    Well I finally figured out the installer with 20 and I am up to the 
> times :) But the thing is when I boot in single mode and try to unmount the 
> root filesystem because I want to run e2fsck, I can't mount in RO mode. 
> umount /dev/sdX worked before with my F17 and the root remounted itself in 
> RO mode. I can't get this to happen now. Even when in single user mode.
> 
> Bill

You can't unmount the running root fs, where would mount come from,
not to mention /dev?

You need to *remount* the root fs ro; man mount, look for the remount
option:
 mount -o remount,ro /dev/foo /

[toc] | [prev] | [next] | [standalone]


#12239

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-10-08 16:44 -0400
Message-ID<m147o6$t4h$1@speranza.aioe.org>
In reply to#12238
"Jerry Peters" <jerry@example.invalid> wrote in message 
news:m146q9$221$1@dont-email.me...

> You need to *remount* the root fs ro; man mount, look for the remount
> option:
> mount -o remount,ro /dev/foo /

    Tried that too. It didn't work either. The fstab is not set to rw all 
setting are default. So the problem isn't there either.

Bill

[toc] | [prev] | [next] | [standalone]


#12242

From"David W. Hodgins" <dwhodgins@nomail.afraid.org>
Date2014-10-08 18:57 -0400
Message-ID<op.xnfopiwia3w0dxdave@hodgins.homeip.net>
In reply to#12237
On Wed, 08 Oct 2014 14:57:43 -0400, Bill Cunningham <nospam@nspam.invalid> wrote:

> times :) But the thing is when I boot in single mode and try to unmount the
> root filesystem because I want to run e2fsck, I can't mount in RO mode.

Assuming grub, or grub2 is being used, at the grub menu, edit the kernel
parameters to add the option "rd.break=pre-mount".

After running the fsck, enter the command exit, twice, to continue with
a normal boot.

I'm running Mageia 4, though I think the fedora version of dracut is
likely the same, for the kernel options.
http://fedoraproject.org/wiki/How_to_debug_Dracut_problems#Additional_dracut_boot_parameters

Regards, Dave Hodgins

-- 
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)

[toc] | [prev] | [next] | [standalone]


#12246

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-10-08 20:47 -0400
Message-ID<m14lum$rat$1@speranza.aioe.org>
In reply to#12242
"David W. Hodgins" <dwhodgins@nomail.afraid.org> wrote in message 
news:op.xnfopiwia3w0dxdave@hodgins.homeip.net...
> On Wed, 08 Oct 2014 14:57:43 -0400, Bill Cunningham <nospam@nspam.invalid> 
> wrote:
>
>> times :) But the thing is when I boot in single mode and try to unmount 
>> the
>> root filesystem because I want to run e2fsck, I can't mount in RO mode.
>
> Assuming grub, or grub2 is being used, at the grub menu, edit the kernel
> parameters to add the option "rd.break=pre-mount".
>
> After running the fsck, enter the command exit, twice, to continue with
> a normal boot.
>
> I'm running Mageia 4, though I think the fedora version of dracut is
> likely the same, for the kernel options.
> http://fedoraproject.org/wiki/How_to_debug_Dracut_problems#Additional_dracut_boot_parameters
>
> Regards, Dave Hodgins

    Yes that does work. Is this a bug in fedora if you know?

Bill

[toc] | [prev] | [next] | [standalone]


#12248

From"David W. Hodgins" <dwhodgins@nomail.afraid.org>
Date2014-10-09 08:29 -0400
Message-ID<op.xngqauhza3w0dxdave@hodgins.homeip.net>
In reply to#12246
On Wed, 08 Oct 2014 20:47:18 -0400, Bill Cunningham <nospam@nspam.invalid> wrote:

>     Yes that does work. Is this a bug in fedora if you know?

The root filesystem cannot be unmounted while it's in use. Try
mount -n -o remount,ro /

Note that even that will fail, if any processes have files open
in other then read only mode, hence it's better to learn how to
use the dracut shell. The presence of the shell in the initrd,
created by dracut, saves having to use a cd/dvd/usb drive to
boot from, to fix problems in the root filesystem.

While there are not many commands available in the dracut shell,
if there is one you know you might need, modifying the file
/etc/dracut.conf, and running "dracut -f", can recreate the
initrd, with additional commands, or modules included.

Regards, Dave Hodgins

-- 
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)

[toc] | [prev] | [next] | [standalone]


#12276

From"Bill Cunningham" <nospam@nspam.invalid>
Date2014-10-10 17:08 -0400
Message-ID<m19hrb$b52$1@speranza.aioe.org>
In reply to#12248
"David W. Hodgins" <dwhodgins@nomail.afraid.org> wrote in message 
news:op.xngqauhza3w0dxdave@hodgins.homeip.net...
> On Wed, 08 Oct 2014 20:47:18 -0400, Bill Cunningham <nospam@nspam.invalid> 
> wrote:
>
>>     Yes that does work. Is this a bug in fedora if you know?
>
> The root filesystem cannot be unmounted while it's in use. Try
> mount -n -o remount,ro /
>
> Note that even that will fail, if any processes have files open
> in other then read only mode, hence it's better to learn how to
> use the dracut shell. The presence of the shell in the initrd,
> created by dracut, saves having to use a cd/dvd/usb drive to
> boot from, to fix problems in the root filesystem.
>
> While there are not many commands available in the dracut shell,
> if there is one you know you might need, modifying the file
> /etc/dracut.conf, and running "dracut -f", can recreate the
> initrd, with additional commands, or modules included.
>
> Regards, Dave Hodgins

Well if I'm going to continue with F20 network install I'm going to have to 
get things installed that I need. I was able to get startx install and the X 
frame buffering system but I start it and it successfully shuts down. 
There's nothing here for it to turn on evidently. There is a group called 
window managers that might be what I'm looking for. I can't get yum to group 
install. I try what I think the man page says and no go.

yum group install "window managers" -or-
yum groupinstall "Window maners"

No group will install.

Bill

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.misc


csiph-web