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

  • From: Didier Spaier <didier@xxxxxxxx>
  • To: slint@xxxxxxxxxxxxx
  • Date: Sun, 6 Mar 2022 18:10:41 +0100

Correction: the first command should be:
lsblk -lno path,size,fstype,mountpoint,parttypename

Didier

Le 06/03/2022 à 18:07, Didier Spaier a écrit :

From the installed Slint, please provide output of the commands below:
lblk -lno  path,size,fstype,mountpoint
df -Th

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: