Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #242645 > unrolled thread
| Started by | frantal@libero.it |
|---|---|
| First post | 2021-12-03 12:30 +0100 |
| Last post | 2021-12-03 20:30 +0100 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.user
Double boot (Windows & Debian) with UEFI mode frantal@libero.it - 2021-12-03 12:30 +0100
Re: Double boot (Windows & Debian) with UEFI mode "Andrew M.A. Cater" <amacater@einval.com> - 2021-12-03 20:00 +0100
Re: Double boot (Windows & Debian) with UEFI mode David Wright <deblis@lionunicorn.co.uk> - 2021-12-03 20:30 +0100
| From | frantal@libero.it |
|---|---|
| Date | 2021-12-03 12:30 +0100 |
| Subject | Double boot (Windows & Debian) with UEFI mode |
| Message-ID | <DqeVj-3sc-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Hi, I was unable to install Grub. Via ‘rescue mode’ of installation cd, it doesn't make me do it; takes me to the partitioning window. Then I did a reboot which gave me a screenshot error: file ‘/boot/grub/i386-pc/normal.mod’ not found. On: grub rescue>ls (hd0) (hd0,gpt8) (hd0,gpt7) (hd0,gpt6) (hd0,gpt5) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) By giving ls command to each partition only (hd0,gpt6) and (hd0,gpt8) are given as ext2 filesystem (the other as ‘unknown’ filesystem) Then, to know more, I gave the following commands: grub rescue> ls (hd0,gpt6)/ ./ ../ lost+found/ home/ etc/ media/ vmlinuz.old var/ bin usr/ sbin lib lib32 lib64 libx32 boot/ dev/ proc/ root/ run/ sys/ tmp/ mnt/ srv/ apt/ debootstrap/ initrd.img.old vmlinuz initrd.img grub rescue> ls (hd0,gpt6)/boot ./ ../ config-5.10.0-9-amd64 vmlinuz-5.10.0-9-amd64 efi/ System.map-5.10.0-9-amd64 initrd.img-5.10.0-9-amd64 Now I don't know how I can do to continue and if this datas can be useful to solve Francesco
[toc] | [next] | [standalone]
| From | "Andrew M.A. Cater" <amacater@einval.com> |
|---|---|
| Date | 2021-12-03 20:00 +0100 |
| Message-ID | <DqlWN-7sS-1@gated-at.bofh.it> |
| In reply to | #242645 |
On Fri, Dec 03, 2021 at 12:22:45PM +0100, frantal@libero.it wrote: > > Hi, > I was unable to install Grub. Via ‘rescue mode’ of installation cd, it doesn't make me do it; takes me to the partitioning window. Then I did a reboot which gave me a screenshot > error: file ‘/boot/grub/i386-pc/normal.mod’ not found. > > On: > > grub rescue>ls > (hd0) (hd0,gpt8) (hd0,gpt7) (hd0,gpt6) (hd0,gpt5) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) > > By giving ls command to each partition only (hd0,gpt6) and (hd0,gpt8) are given as ext2 filesystem (the other as ‘unknown’ filesystem) > Then, to know more, I gave the following commands: > > grub rescue> ls (hd0,gpt6)/ > ./ ../ lost+found/ home/ etc/ media/ vmlinuz.old var/ bin usr/ sbin lib lib32 lib64 libx32 boot/ dev/ proc/ root/ run/ sys/ tmp/ mnt/ srv/ apt/ debootstrap/ initrd.img.old vmlinuz initrd.img > > grub rescue> ls (hd0,gpt6)/boot > ./ ../ config-5.10.0-9-amd64 vmlinuz-5.10.0-9-amd64 efi/ System.map-5.10.0-9-amd64 initrd.img-5.10.0-9-amd64 > > Now I don't know how I can do to continue and if this datas can be useful to solve > > Francesco
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2021-12-03 20:30 +0100 |
| Message-ID | <DqmpQ-7RK-11@gated-at.bofh.it> |
| In reply to | #242645 |
On Fri 03 Dec 2021 at 12:22:45 (+0100), frantal@libero.it wrote: > I was unable to install Grub. Via ‘rescue mode’ of installation cd, it doesn't make me do it; takes me to the partitioning window. Then I did a reboot which gave me a screenshot > error: file ‘/boot/grub/i386-pc/normal.mod’ not found. > > On: > > grub rescue>ls > (hd0) (hd0,gpt8) (hd0,gpt7) (hd0,gpt6) (hd0,gpt5) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) > > By giving ls command to each partition only (hd0,gpt6) and (hd0,gpt8) are given as ext2 filesystem (the other as ‘unknown’ filesystem) > Then, to know more, I gave the following commands: > > grub rescue> ls (hd0,gpt6)/ > ./ ../ lost+found/ home/ etc/ media/ vmlinuz.old var/ bin usr/ sbin lib lib32 lib64 libx32 boot/ dev/ proc/ root/ run/ sys/ tmp/ mnt/ srv/ apt/ debootstrap/ initrd.img.old vmlinuz initrd.img > > grub rescue> ls (hd0,gpt6)/boot > ./ ../ config-5.10.0-9-amd64 vmlinuz-5.10.0-9-amd64 efi/ System.map-5.10.0-9-amd64 initrd.img-5.10.0-9-amd64 > > Now I don't know how I can do to continue and if this datas can be useful to solve I think you should be able to boot linux directly by typing (I haven't tried this): grub> search --set=root --file /vmlinuz grub> echo $root ought to reply (hd0,gpt6) grub> linux /vmlinuz root=/dev/sda6 ro quiet grub> initrd /initrd.img grub> boot When the system is up and running, check and/or reinstall grub with: # grub-install /dev/sda You could then satisfy our curiosity by typing: # ls /sys/firmware/efi but you could also, having installed grub, check the contents listed by: # ls -lR /boot/efi/ It should look something like below, but with extra windows stuff. The file /boot/efi/EFI/debian/grub.cfg should contain something like: search.fs_uuid 12345678-abcd-9876-5432-abcdef123456 root hd0,gpt6 set prefix=($root)'/boot/grub' configfile $prefix/grub.cfg The listing: /boot/efi: total 1 drwx------ 3 512 May 19 2021 EFI /boot/efi/EFI: total 1 drwx------ 2 512 May 19 2021 debian /boot/efi/EFI/debian: total 3328 -rwx------ 1 108 Jul 29 15:33 BOOTX64.CSV -rwx------ 1 84176 Jul 29 15:33 fbx64.efi -rwx------ 1 126 Jul 29 15:33 grub.cfg -rwx------ 1 1549696 Jul 29 15:33 grubx64.efi -rwx------ 1 842104 Jul 29 15:33 mmx64.efi -rwx------ 1 930016 Jul 29 15:33 shimx64.efi Cheers, David.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web