[opensuse-support] Live-DVD

I booted a Live-TW in an attempt to fix a non-booting ssd with Leap and TW on it. If I do a "mount /dev/sdx /" followed by "ls /" I still get the live DVD root. If I do "mount /dev/sdx /mnt" then the partition lists with "ls /mnt". Why can I not change the system / to the partition I want? Also tried to get Yast to do a BootLoader routine, it seems to go through the steps but the ssd which remains unbootable ( I suppose iot was never written to). On all install/rescue/live/upgrade media I'd like to see an option "grub command line" from which a manual commanded boot could be tried. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

On 05/09/2020 18.33, ksusup wrote:
I booted a Live-TW in an attempt to fix a non-booting ssd with Leap and TW on it. If I do a "mount /dev/sdx /" followed by "ls /" I still get the live DVD root. If I do "mount /dev/sdx /mnt" then the partition lists with "ls /mnt". Why can I not change the system / to the partition I want?
Because you can't, LOL.
Also tried to get Yast to do a BootLoader routine, it seems to go through the steps but the ssd which remains unbootable ( I suppose iot was never written to).
On all install/rescue/live/upgrade media I'd like to see an option "grub command line" from which a manual commanded boot could be tried.
Try this: mount /dev/sdXY /mnt mount /dev/sdXZ /mnt/boot/efi ls /mnt mount --bind /proc /mnt/proc mount --bind /sys /mnt/sys mount --bind /dev /mnt/dev chroot /mnt # some say: chroot /mnt/ /bin/bash --login And then, you can call "yast" (not yast2) in text mode and do things. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)

Hello, On Sat, 05 Sep 2020, Carlos E.R. wrote:
On 05/09/2020 18.33, ksusup wrote:
I booted a Live-TW in an attempt to fix a non-booting ssd with Leap and TW on it. If I do a "mount /dev/sdx /" followed by "ls /" I still get the live DVD root. If I do "mount /dev/sdx /mnt" then the partition lists with "ls /mnt". Why can I not change the system / to the partition I want?
Because you can't, LOL.
man 8 pivot_root -dnh -- vi, pr.n. A computer program designed to stress-test the use of modal bleeping. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

On Sat, 5 Sep 2020 23:09:37 +0200 David Haller <dnh@opensuse.org> wrote:
Hello,
On Sat, 05 Sep 2020, Carlos E.R. wrote:
On 05/09/2020 18.33, ksusup wrote:
I booted a Live-TW in an attempt to fix a non-booting ssd with Leap and TW on it. If I do a "mount /dev/sdx /" followed by "ls /" I still get the live DVD root. If I do "mount /dev/sdx /mnt" then the partition lists with "ls /mnt". Why can I not change the system / to the partition I want?
Because you can't, LOL.
man 8 pivot_root
Thanks, that's over my head but bookmarked. Meanwhile I found a workaround by breaking into the Live-DVD grub menu with "C" and booting the sick disk (i had never thought of DVD menus as grub menus). Thus I have the desired root to work from. For now I don't wanna redeploy grub code from this entered / as that might erase traces of what went wrong in the first place. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (4)
-
Carlos E.R.
-
David Haller
-
ksusup
-
ksusup@trixtar.org