* [uml-devel] Remove default root?
@ 2014-09-29 17:36 Thomas Meyer
2014-09-29 20:17 ` Richard Weinberger
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Meyer @ 2014-09-29 17:36 UTC (permalink / raw)
To: user-mode-linux-devel
Hi,
I tried to install the latest Fedora 21 from the Network Install Image
DVD (
https://fedoraproject.org/get-prerelease#server
http://download.fedoraproject.org/pub/fedora/linux/releases/test/21-Alpha/Server/x86_64/iso/Fedora-Server-netinst-x86_64-21_Alpha.iso )
I did these step to install the distribution:
1.) Extract the initrd and boot options from the DVD via a loop device
mount
2.) Boot UML with:
linux mem=800M umid=fedora21 eth0=tuntap,,,192.168.1.150
ubd0=images/Fedora21-Root.img
ubd1=images/Fedora-Server-netinst-x86_64-21_Alpha.iso plymouth.enable=0
initrd=images/initrd.img inst.stage2=hd:LABEL=Fedora-S-21_A-x86_64
ip=192.168.1.151::192.168.1.150:255.255.255.0:servername:eth0:off
nameserver=8.8.8.8
3.) I only added the option "plymouth.enable=0" because the plymouth
get's confused by the missing KMS(?!)
The problem is, that this only works when I remove the default root
option from UML, as the dracut, get's confused by the root= option.
So as many modern distributions boot via an initramfs image and
autodetect the root partition automatically, I want to know what do you
think about the removal of the default root option from UML?
with kind regards
thomas
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] Remove default root?
2014-09-29 17:36 [uml-devel] Remove default root? Thomas Meyer
@ 2014-09-29 20:17 ` Richard Weinberger
2014-09-29 21:24 ` Thomas Meyer
0 siblings, 1 reply; 3+ messages in thread
From: Richard Weinberger @ 2014-09-29 20:17 UTC (permalink / raw)
To: Thomas Meyer; +Cc: user-mode-linux-devel@lists.sourceforge.net
On Mon, Sep 29, 2014 at 7:36 PM, Thomas Meyer <thomas@m3y3r.de> wrote:
> Hi,
>
> I tried to install the latest Fedora 21 from the Network Install Image
> DVD (
> https://fedoraproject.org/get-prerelease#server
> http://download.fedoraproject.org/pub/fedora/linux/releases/test/21-Alpha/Server/x86_64/iso/Fedora-Server-netinst-x86_64-21_Alpha.iso )
>
> I did these step to install the distribution:
>
> 1.) Extract the initrd and boot options from the DVD via a loop device
> mount
> 2.) Boot UML with:
>
> linux mem=800M umid=fedora21 eth0=tuntap,,,192.168.1.150
> ubd0=images/Fedora21-Root.img
> ubd1=images/Fedora-Server-netinst-x86_64-21_Alpha.iso plymouth.enable=0
> initrd=images/initrd.img inst.stage2=hd:LABEL=Fedora-S-21_A-x86_64
> ip=192.168.1.151::192.168.1.150:255.255.255.0:servername:eth0:off
> nameserver=8.8.8.8
>
> 3.) I only added the option "plymouth.enable=0" because the plymouth
> get's confused by the missing KMS(?!)
>
> The problem is, that this only works when I remove the default root
> option from UML, as the dracut, get's confused by the root= option.
>
> So as many modern distributions boot via an initramfs image and
> autodetect the root partition automatically, I want to know what do you
> think about the removal of the default root option from UML?
This would break many existing setups.
Does your setup work if you just pass "root=" as command line?
In this case UML would not append the default root.
--
Thanks,
//richard
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [uml-devel] Remove default root?
2014-09-29 20:17 ` Richard Weinberger
@ 2014-09-29 21:24 ` Thomas Meyer
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Meyer @ 2014-09-29 21:24 UTC (permalink / raw)
To: Richard Weinberger; +Cc: user-mode-linux-devel@lists.sourceforge.net
Am Montag, den 29.09.2014, 22:17 +0200 schrieb Richard Weinberger:
> On Mon, Sep 29, 2014 at 7:36 PM, Thomas Meyer <thomas@m3y3r.de> wrote:
> > Hi,
> >
> > I tried to install the latest Fedora 21 from the Network Install Image
> > DVD (
> > https://fedoraproject.org/get-prerelease#server
> > http://download.fedoraproject.org/pub/fedora/linux/releases/test/21-Alpha/Server/x86_64/iso/Fedora-Server-netinst-x86_64-21_Alpha.iso )
> >
> > I did these step to install the distribution:
> >
> > 1.) Extract the initrd and boot options from the DVD via a loop device
> > mount
> > 2.) Boot UML with:
> >
> > linux mem=800M umid=fedora21 eth0=tuntap,,,192.168.1.150
> > ubd0=images/Fedora21-Root.img
> > ubd1=images/Fedora-Server-netinst-x86_64-21_Alpha.iso plymouth.enable=0
> > initrd=images/initrd.img inst.stage2=hd:LABEL=Fedora-S-21_A-x86_64
> > ip=192.168.1.151::192.168.1.150:255.255.255.0:servername:eth0:off
> > nameserver=8.8.8.8
> >
> > 3.) I only added the option "plymouth.enable=0" because the plymouth
> > get's confused by the missing KMS(?!)
> >
> > The problem is, that this only works when I remove the default root
> > option from UML, as the dracut, get's confused by the root= option.
> >
> > So as many modern distributions boot via an initramfs image and
> > autodetect the root partition automatically, I want to know what do you
> > think about the removal of the default root option from UML?
>
> This would break many existing setups.
> Does your setup work if you just pass "root=" as command line?
> In this case UML would not append the default root.
I think I did run into the same timeout issue in systemd waiting forever
to the device to appear.
So, it's maybe better to fix the real underlying bug here.
>
------------------------------------------------------------------------------
Slashdot TV. Videos for Nerds. Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-09-29 21:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-29 17:36 [uml-devel] Remove default root? Thomas Meyer
2014-09-29 20:17 ` Richard Weinberger
2014-09-29 21:24 ` Thomas Meyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox