Re: [Starlingx-discuss] R2.0 iso installation failure: USB device naming
Dear Pratik, I don't know the root cause. But i think this could workaround. You should have two hard disk. Go to the shell (ctrl+b+2) and use fdisk command to clear all your partitions on your hard disks and create new clear partition. Then use bootable usb to install STX again. You can try it. Thanks Pratik M. <pvmpublic@gmail.com> 於 2019年9月10日 週二 下午5:25寫道:
Hi, The screenshot did not make it through since email exceeded mailer limit. Trying again.
The error is "ERROR: Specified installation (sda) or boot (sda) device is a USB drive."
Thanks in advance
On Tue, Sep 10, 2019 at 2:30 PM Ezpeer Chen <ezpeerchen@gmail.com> wrote:
Dear Pratik,
I can't see your screenshot .
What's your installation issue now ?
Best regards,
Pratik M. <pvmpublic@gmail.com> 於 2019年9月10日 週二 下午4:40寫道:
[re-sending since the previous message exceeded msg-size] Hi, I cannot seem to install the STX R2 iso using a USB key, since the SATA device naming on my server ends up assigning /dev/sda to the USB key (screenshot attached). And I believe the installer assumes the root device as /dev/sda.
I tried both legacy and UEFI boot.
Also what is the way to get to a root shell during the ananconda install? tty2 has a login prompt. I tried sysadmin/root with sysadmin/St8rlingX* combinations, to no avail.
Thanks in advance Pratik
_______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
On Tue, Sep 10, 2019 at 3:07 PM Ezpeer Chen <ezpeerchen@gmail.com> wrote:
You should have two hard disk.
Yes, I do. But they were completely wiped (no partition). I will try creating a partition, in a bit. For now, I went ahead and used the IPMI virtual cdrom option to boot. But I think the root cause is the installer assumption that it wants to install in /dev/sda (below). Guess I will have to spin a custom iso. menu begin [...] append rootwait console=tty0 inst.text inst.stage2=hd:LABEL=oe_iso_boot inst.ks=hd:LABEL=oe_iso_boot:/ks.cfg boot_device=sda rootfs_device=sda biosdevname=0 usbcore.autosuspend=-1 inst.gpt security_profile=standard user_namespace.enable=1 Thanks
If you hit <tab> in the boot menu on your selection, you can edit the command-line. Update the boot_device and rootfs_device fields to the disk you'd like to use for the installation. As a side note, I will be introducing a build tool soon that provides an easy mechanism for a user to modify an ISO with new/updated boot parameters. -----Original Message----- From: Pratik M. [mailto:pvmpublic@gmail.com] Sent: Tuesday, September 10, 2019 7:53 AM To: Ezpeer Chen Cc: starlingx-discuss@lists.starlingx.io Subject: Re: [Starlingx-discuss] R2.0 iso installation failure: USB device naming On Tue, Sep 10, 2019 at 3:07 PM Ezpeer Chen <ezpeerchen@gmail.com> wrote:
You should have two hard disk.
Yes, I do. But they were completely wiped (no partition). I will try creating a partition, in a bit. For now, I went ahead and used the IPMI virtual cdrom option to boot. But I think the root cause is the installer assumption that it wants to install in /dev/sda (below). Guess I will have to spin a custom iso. menu begin [...] append rootwait console=tty0 inst.text inst.stage2=hd:LABEL=oe_iso_boot inst.ks=hd:LABEL=oe_iso_boot:/ks.cfg boot_device=sda rootfs_device=sda biosdevname=0 usbcore.autosuspend=-1 inst.gpt security_profile=standard user_namespace.enable=1 Thanks _______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
Thank you for the tip. That took me a step ahead. But just to report, the ansible-playbook now fails saying "Failed to determine the boot device". Have filed an issue: https://bugs.launchpad.net/starlingx/+bug/1843893 Could this be because biosnames=0 is used and since I removed my USB key post install, thus causing a rename? Thanks Pratik On Tue, Sep 10, 2019 at 6:57 PM Penney, Don <Don.Penney@windriver.com> wrote:
If you hit <tab> in the boot menu on your selection, you can edit the command-line. Update the boot_device and rootfs_device fields to the disk you'd like to use for the installation.
As a side note, I will be introducing a build tool soon that provides an easy mechanism for a user to modify an ISO with new/updated boot parameters.
-----Original Message----- From: Pratik M. [mailto:pvmpublic@gmail.com] Sent: Tuesday, September 10, 2019 7:53 AM To: Ezpeer Chen Cc: starlingx-discuss@lists.starlingx.io Subject: Re: [Starlingx-discuss] R2.0 iso installation failure: USB device naming
On Tue, Sep 10, 2019 at 3:07 PM Ezpeer Chen <ezpeerchen@gmail.com> wrote:
You should have two hard disk.
Yes, I do. But they were completely wiped (no partition). I will try creating a partition, in a bit. For now, I went ahead and used the IPMI virtual cdrom option to boot. But I think the root cause is the installer assumption that it wants to install in /dev/sda (below). Guess I will have to spin a custom iso.
menu begin [...] append rootwait console=tty0 inst.text inst.stage2=hd:LABEL=oe_iso_boot inst.ks=hd:LABEL=oe_iso_boot:/ks.cfg boot_device=sda rootfs_device=sda biosdevname=0 usbcore.autosuspend=-1 inst.gpt security_profile=standard user_namespace.enable=1
Thanks
_______________________________________________ Starlingx-discuss mailing list Starlingx-discuss@lists.starlingx.io http://lists.starlingx.io/cgi-bin/mailman/listinfo/starlingx-discuss
participants (3)
-
Ezpeer Chen
-
Penney, Don
-
Pratik M.