Create installation media for Windowsrupertlssmith wrote:Great plan if Lenovo actually provided me with the windows installation disks...
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Resolved: How to Dual boot with UEFI Windows?
- alan stone
- Posts: 269
- Joined: 2011-10-22 14:08
- Location: In my body.
Re: How to Dual boot with UEFI Windows?
-
- Posts: 109
- Joined: 2009-08-11 10:41
Re: How to Dual boot with UEFI Windows?
So I did the above:p.H wrote: As mentionned in the Debian installation guide :sdX being the USB drive with all partitions removed first, then unplugged and plugged again.Code: Select all
cp debian-xxx.iso /dev/sdX
Code: Select all
cp debian-9.2.0-amd64-netinst.iso /dev/sdc
netinst.iso is looking for a CD-ROM device, but fails to find one. I tried opening a shell and "mount /dev/sda1 /cdrom" but that says it cannot find the /cdrom directory despite the file system showing it is there..?
I am using a USB HDD device rather than a USB memory stick. I wonder if that affects things? AFAIK, the netinst installer is supposed to be dual purpose in that it can work from a CD-ROM or a USB device.
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: How to Dual boot with UEFI Windows?
The error message may be misleading. IIRC the mount command from busybox included in the Debian installer requires to specify the filesystem type (iso9660) with -t.
It should not. Check which /dev/sdX device name the USB drive gets.rupertlssmith wrote:I am using a USB HDD device rather than a USB memory stick. I wonder if that affects things?
-
- Posts: 109
- Joined: 2009-08-11 10:41
Re: How to Dual boot with UEFI Windows?
Thanks. That works:p.H wrote:The error message may be misleading. IIRC the mount command from busybox included in the Debian installer requires to specify the filesystem type (iso9660) with -t.
It should not. Check which /dev/sdX device name the USB drive gets.rupertlssmith wrote:I am using a USB HDD device rather than a USB memory stick. I wonder if that affects things?
Code: Select all
mount -t iso9660 /dev/sda /cdrom
-
- Posts: 109
- Joined: 2009-08-11 10:41
Re: How to Dual boot with UEFI Windows?
So now I get the installer running.
When I come to the step 'Install Base System' it fails with the message 'Failed to determine the codename for the release.' Any suggestions?
I think I now understand why Linus Torvalds says he is not technical enough to install Debian...
When I come to the step 'Install Base System' it fails with the message 'Failed to determine the codename for the release.' Any suggestions?
I think I now understand why Linus Torvalds says he is not technical enough to install Debian...
-
- Posts: 109
- Joined: 2009-08-11 10:41
Re: How to Dual boot with UEFI Windows?
Strangely, /cdrom seemed to unmount itself during the installation process. The device for it also changed from /dev/sda. So I had to drop to a shell and then mount /dev/sdb on /cdrom, and now it is finding the base system to install.rupertlssmith wrote:So now I get the installer running.
When I come to the step 'Install Base System' it fails with the message 'Failed to determine the codename for the release.' Any suggestions?
I think I now understand why Linus Torvalds says he is not technical enough to install Debian...
-
- Posts: 109
- Joined: 2009-08-11 10:41
Re: How to Dual boot with UEFI Windows?
It would seem that a USB HDD versus a USB flash drive does make a difference. I now put the netinst.iso on a USB flash drive, and the issue with detecting the CD-ROM goes away; it finds the installer files automatically.p.H wrote:It should not.rupertlssmith wrote:I am using a USB HDD device rather than a USB memory stick. I wonder if that affects things?
Going down the USB HDD route - it kept on failing to find the cd-rom during installation and eventually hung. But now that I have a USB flash drive, it seems to be going ok.
-
- Posts: 109
- Joined: 2009-08-11 10:41
Re: How to Dual boot with UEFI Windows?
Ok, I've now got it dual booting into Windows and Debian with EFI.
To summarize,
Making sure that /dev/sdX is a USB flash drive, and not a USB HDD drive.
Boot that and install to a partition on the main disk. It sets up grub for EFI mode all by itself and dual booting works.
Thanks for all the help. It wasn't so hard in the end, but I appreciate the things I learned along the way.
To summarize,
Code: Select all
cp debian-9.2.0-amd64-netinst.iso /dev/sdX
Boot that and install to a partition on the main disk. It sets up grub for EFI mode all by itself and dual booting works.
Thanks for all the help. It wasn't so hard in the end, but I appreciate the things I learned along the way.