Skip to contentSkip to conversation

Remove default root?

uml-devel Thomas Meyer 2 participants 3 messages Sep 29, 2014 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 23 lines · 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(?!)

Quoted 6 lines

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.

Signature · 10 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
#2 lore raw

Am Montag, den 29.09.2014, 22:17 +0200 schrieb Richard Weinberger:

Quoted 27 lines · Thomas Meyer
Quoted 26 lines

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 1 line

------------------------------------------------------------------------------
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel