[slint] Re: How to produce Dual system booting menu?

  • From: 高生旺 <coscell@xxxxxxxxx>
  • To: slint@xxxxxxxxxxxxx
  • Date: Mon, 7 Mar 2022 14:23:21 +0800 (CST)

Okay. Thank you!

On Mon, 7 Mar 2022, D.J.J. Ring, Jr. wrote:

Date: Mon, 7 Mar 2022 00:59:46 -0500
From: "D.J.J. Ring, Jr." <n1ea@xxxxxxxx>
Reply-To: slint@xxxxxxxxxxxxx
To: slint@xxxxxxxxxxxxx
Subject: [slint] Re: How to produce Dual system booting menu?

I believe you have to install grub to  /dev/nvme0n1. 
Wait until Didier answers your message, I think that's all you have to do, but 
wait for Didier.

Best wishes,

David

On Sun, Mar 6, 2022, 10:47 PM 高生旺 <coscell@xxxxxxxxx> wrote:
      > From the installed Slint, please provide output of the commands below:
      > lsblk -lno path,size,fstype,mountpoint,parttypename
      /dev/sda       931.5G
      /dev/sda1      931.5G xfs    /          Linux
      /dev/sdb        28.9G
      /dev/sdb1         32M vfat              FAT16
      /dev/sr0        1024M
      /dev/zram1      27.7G        [SWAP]
      /dev/nvme0n1   465.8G
      /dev/nvme0n1p1   100M vfat              EFI System
      /dev/nvme0n1p2    16M                   Microsoft reserved
      /dev/nvme0n1p3 464.9G ntfs   /win       Microsoft basic data
      /dev/nvme0n1p4   761M ntfs              Windows recovery environment

      > df -Th
      Filesystem     Type      Size  Used Avail Use% Mounted on
      tmpfs          tmpfs      32M  936K   32M   3% /run
      devtmpfs       devtmpfs  7.7G     0  7.7G   0% /dev
      /dev/sda1      xfs       932G   21G  911G   3% /
      tmpfs          tmpfs     7.8G     0  7.8G   0% /dev/shm
      cgroup_root    tmpfs     8.0M     0  8.0M   0% /sys/fs/cgroup
      /dev/nvme0n1p3 fuseblk   465G   65G  401G  14% /win
      >
      > Cheers,
      > Didier
      >
      > Le 06/03/2022 à 15:03, 高生旺 a écrit :
      >> I chroot to my installed slint and type grub-install /dev/sda. Then 
got that
      >> message.
      >>
      >> On Sun, 6 Mar 2022, Didier Spaier wrote:
      >>
      >>> Date: Sun, 6 Mar 2022 13:51:24 +0100
      >>> From: Didier Spaier <didier@xxxxxxxx>
      >>> Reply-To: slint@xxxxxxxxxxxxx
      >>> To: slint@xxxxxxxxxxxxx
      >>> Subject: [slint] Re: How to produce Dual system booting menu?
      >>>
      >>> This messgae doesn't give any clue not knowing its context.
      >>>
      >>> Unless and until you provide information about the context and what 
you were
      >>> dong, we can't help.
      >>>
      >>> Which command did you type which gave this output?
      >>> Did you type it from the installer or from an installed system?
      >>> What where you trying to do?
      >>>
      >>>
      >>>
      >>> Le 05/03/2022 à 16:28, 高生旺 a écrit :
      >>>> I got the message like this:
      >>>> /proc: devices: fopen failed: no such file or dirctory
      >>>>
      >>>> Should I wait slint 15?
      >>>>
      >>>> On Sat, 5 Mar 2022, Didier Spaier wrote:
      >>>>
      >>>>> Date: Sat, 5 Mar 2022 15:21:36 +0100
      >>>>> From: Didier Spaier <didier@xxxxxxxx>
      >>>>> Reply-To: slint@xxxxxxxxxxxxx
      >>>>> To: slint@xxxxxxxxxxxxx
      >>>>> Subject: [slint] Re: How to produce Dual system booting menu?
      >>>>>
      >>>>> You need to chroot into the installed system to run this command as 
stated in:
      >>>>> https://slint.fr/doc/HandBook.html#_how_to_solve_blocking_issues
      >>>>>
      >>>>> Cheers,
      >>>>> Didier
      >>>>> Le 05/03/2022 à 15:15, 高生旺 a écrit :
      >>>>>> grub-install command not found.
      >>>>>>
      >>>>>> On Sat, 5 Mar 2022, D.J.J. Ring, Jr. wrote:
      >>>>>>
      >>>>>>> Date: Sat, 5 Mar 2022 07:17:07 -0500
      >>>>>>> From: "D.J.J. Ring, Jr." <n1ea@xxxxxxxx>
      >>>>>>> To: slint@xxxxxxxxxxxxx
      >>>>>>> Cc: 高生旺 <coscell@xxxxxxxxx>
      >>>>>>> Subject: Re: [slint] Re: How to produce Dual system booting menu?
      >>>>>>>
      >>>>>>> If you boot from the SLINT installation image is grub-install 
found?
      >>>>>>>
      >>>>>>> The command "lsblk" will give you the disks and partitions in 
your system.
      >>>>>>>
      >>>>>>> Usually you have /dev/sda and one of the partitions is SLINT.
      >>>>>>>
      >>>>>>> You can tell which because the file type is usually ext4 file 
type and it's
      >>>>>>> usually the last partition you made like /dev/sda3 or /dev/sda4. 
      >>>>>>>
      >>>>>>> You will also see your installation image listed. Like /dev/sdb 
with
      >>>>>>> partitions /dev/sdb1.
      >>>>>>>
      >>>>>>> Boot from the SLINT installation image, issue command "lsblk", 
confirm what
      >>>>>>> disk is being used, usually /dev/sda.
      >>>>>>>
      >>>>>>> You want to run grub-install and tell the drive you want grub on.
      >>>>>>>
      >>>>>>> If the disk being used is /dev/sda which it usually is, issue the 
command:
      >>>>>>>
      >>>>>>> "grub-install /dev/sda" which will install grub to that hard 
drive MBR.
      >>>>>>> You do
      >>>>>>> NOT want to install to a partition like /dev/sda1, you want to 
install to
      >>>>>>> /dev/as a.
      >>>>>>>
      >>>>>>> Once you are running SLINT we can make sure you have Windows 
recognized by
      >>>>>>> running "grub-mkconfig -o /boot/grub/grub.cfg" from the working 
installation
      >>>>>>> of SLINT".
      >>>>>>>
      >>>>>>> I hope that helps.
      >>>>>>>
      >>>>>>> Best wishes,
      >>>>>>>
      >>>>>>> David
      >>>>>>>
      >>>>>>>
      >>>>>>>
      >>>>>>>
      >>>>>>>
      >>>>>>>
      >>>>>>>
      >>>>>>>
      >>>>>>> On Sat, Mar 5, 2022, 12:29 AM 高生旺 <coscell@xxxxxxxxx> wrote:
      >>>>>>>       Hello Ring,
      >>>>>>>
      >>>>>>>       Now I can only boot to Windows not slint. If I boot to 
slint booting
      >>>>>>> image
      >>>>>>>       then grub command not found.
      >>>>>>>
      >>>>>>>       On Sat, 5 Mar 2022, 高生旺 wrote:
      >>>>>>>
      >>>>>>>       > Date: Sat, 5 Mar 2022 11:08:27 +0800 (CST)
      >>>>>>>       > From: 高生旺 <coscell@xxxxxxxxx>
      >>>>>>>       > To: slint@xxxxxxxxxxxxx
      >>>>>>>       > Subject: Re: [slint] Re: How to produce Dual system 
booting menu?
      >>>>>>>       >
      >>>>>>>       > Thank you Ring!
      >>>>>>>       > I booted from slint image and run os-prober.
      >>>>>>>       > Shuld I need to change the path of grub-mkconfig -o 
command?
      >>>>>>>       > On Fri, 4 Mar 2022, D.J.J. Ring, Jr. wrote:
      >>>>>>>       >
      >>>>>>>       >> Date: Fri, 4 Mar 2022 10:20:23 -0500
      >>>>>>>       >> From: "D.J.J. Ring, Jr." <n1ea@xxxxxxxx>
      >>>>>>>       >> Reply-To: slint@xxxxxxxxxxxxx
      >>>>>>>       >> To: slint@xxxxxxxxxxxxx
      >>>>>>>       >> Subject: [slint] Re: How to produce Dual system booting 
menu?
      >>>>>>>       >>
      >>>>>>>       >> As root run:
      >>>>>>>       >>
      >>>>>>>       >> os-prober
      >>>>>>>       >>
      >>>>>>>       >> It should find your other operating system, if os-prober 
is not
      >>>>>>> found,
      >>>>>>>       >> install it, then run os-prober.
      >>>>>>>       >>
      >>>>>>>       >> Then run as root:
      >>>>>>>       >>
      >>>>>>>       >> grub-mkconfig -o /boot/grub/grub.cfg
      >>>>>>>       >>
      >>>>>>>       >> Reboot.
      >>>>>>>       >>
      >>>>>>>       >> Be well,
      >>>>>>>       >> David
      >>>>>>>       >>
      >>>>>>>       >>
      >>>>>>>       >> On Fri, Mar 4, 2022 at 9:53 AM 高生旺 <coscell@xxxxxxxxx> 
wrote:
      >>>>>>>       >>       My new installation didn't produce dual system 
booting menu.
      >>>>>>> How to
      >>>>>>>       >> produce
      >>>>>>>       >>       it manually?
      >>>>>>>       >>     
      >>>>>>>  
===============================================================================
      >>>>>>>
      >>>>>>>
      >>>>>>>       >>       The Slint mailing list.
      >>>>>>>       >>       Archive: https://www.freelists.org/archive/slint
      >>>>>>>       >>       To subscribe or unsubscribe, email 
slint-request@xxxxxxxxxxxxx
      >>>>>>> with
      >>>>>>>       >> the subject
      >>>>>>>       >>       'subscribe' or 'unsubscribe', then answer the 
email you will
      >>>>>>> receive.
      >>>>>>>       >>       More: email slint-request@xxxxxxxxxxxxx with as 
subject
      >>>>>>> 'help' or
      >>>>>>>       >> 'commands'.
      >>>>>>>       >>
      >>>>>>>       >>
      >>>>>>>       >
      >>>>>>>
      >>>>>>>
      >>>>>>>
      >>>>> 
===============================================================================
      >>>>> The Slint mailing list.
      >>>>> Archive: https://www.freelists.org/archive/slint
      >>>>> To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with 
the subject
      >>>>> 'subscribe' or 'unsubscribe', then answer the email you will 
receive.
      >>>>> More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or 
'commands'.
      >>>>>
      >>> 
===============================================================================
      >>> The Slint mailing list.
      >>> Archive: https://www.freelists.org/archive/slint
      >>> To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with 
the subject
      >>> 'subscribe' or 'unsubscribe', then answer the email you will receive.
      >>> More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or 
'commands'.
      >>>
      > 
===============================================================================
      > The Slint mailing list.
      > Archive: https://www.freelists.org/archive/slint
      > To subscribe or unsubscribe, email slint-request@xxxxxxxxxxxxx with the 
subject
      > 'subscribe' or 'unsubscribe', then answer the email you will receive.
      > More: email slint-request@xxxxxxxxxxxxx with as subject 'help' or 
'commands'.
      >


Other related posts: