[uml-devel] Remove default root?

2014-09-29 Thread Thomas Meyer
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


Re: [uml-devel] Remove default root?

2014-09-29 Thread Richard Weinberger
On Mon, Sep 29, 2014 at 7:36 PM, Thomas Meyer  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


Re: [uml-devel] Remove default root?

2014-09-29 Thread Thomas Meyer
Am Montag, den 29.09.2014, 22:17 +0200 schrieb Richard Weinberger:
> On Mon, Sep 29, 2014 at 7:36 PM, Thomas Meyer  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