LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 10-31-2017, 05:05 PM   #1
Akashpatel1234
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Rep: Reputation: Disabled
Dualboot is not done properly


Hi,

I am Akash Patel. I have install redhat latest developers version that Redhat is giving for free on my Desktop.

I have already freed 75 GB space for the Redhat. Other space should be allocated to Windows 10.

so after installing Red hat linux I cant have my windows 10 coz the win 10 is not there in boot menu.
Though the Linux is installed in that 75 GB only. Boot loder package is GNU GRUB.

Please help
 
Old 10-31-2017, 06:35 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Post device/partition information by running this command as root user:

Code:
parted /dev/sda print all
Is this an EFI system? Run this command from Red Hat and post the output here:

Code:
[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
 
Old 11-06-2017, 06:05 AM   #3
Akashpatel1234
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hi,

Output of: [ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"

Model: ATA ST3500312CS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: pmbr_boot

Number Start End Size File system Name Flags
1 1049kB 106MB 105MB fat32 EFI system partition boot
2 106MB 123MB 16.8MB Microsoft reserved partition msftres
3 123MB 272GB 272GB ntfs Basic data partition
4 272GB 273GB 894MB ntfs hidden, diag
7 273GB 273GB 1049kB bios_grub
5 273GB 420GB 147GB ntfs Basic data partition
8 420GB 421GB 1074MB xfs
9 421GB 499GB 78.4GB lvm
6 499GB 500GB 629MB ntfs diag


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/rhel-home: 23.1GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 23.1GB 23.1GB xfs


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/rhel-swap: 7948MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 7948MB 7948MB linux-swap(v1)


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/rhel-root: 47.3GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:

Number Start End Size File system Flags
1 0.00B 47.3GB 47.3GB xfs









and Output of : [ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
[ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
Legacy boot on HDD

Last edited by Akashpatel1234; 11-06-2017 at 06:07 AM.
 
Old 11-06-2017, 11:47 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
You indicate the output of the command I suggested shows "Legacy boot on HDD" yet the parted output shows an EFI partition as well as a BIOS_grub partition. This might indicate that you have Red Hat as MBR/CSM and windows UEFI. Boot Red Hat and open a terminal and mount sda1, the EFI partition and see what is in there. Do you have windows and Linux files? If you are not sure, post the contents of the EFI partition and someone might be able to suggest something.
 
Old 11-06-2017, 12:31 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
What help havbe Microsoft and Red Hat given you so far?
As a customer of both you should have both companies helping you with this.

For what it's worth installing Windows first usually makes dual-booting easier.
 
Old 11-06-2017, 02:20 PM   #6
Akashpatel1234
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hello,

You have advised to "Boot Red Hat and open a terminal and mount sda1, the EFI partition and see what is in there" may I have command for this. I am very new to Linux.

Also give me command to "post the contents of the EFI partition". Thanks for the help
 
Old 11-06-2017, 05:58 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Boot Red Hat, open a terminal and log in as root using the root password then type:

Quote:
mkdir /mnt/efi
(hit the Enter key on your keyboard)

Quote:
mount /dev/sda1 /mnt/efi
(Again hit the Enter key)

Change to the mount point:
Quote:
cd /mnt/efi
From there run: ls -l (those are lower case Letter L)
Post the output here.

Last edited by yancek; 11-06-2017 at 06:00 PM.
 
Old 11-10-2017, 07:41 AM   #8
Akashpatel1234
LQ Newbie
 
Registered: Aug 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Hello,

Here are the Out put you have asked for...Thanks for the help..

[root@localhost ~]# cd /
[root@localhost /]# mkdir /mnt/efi
[root@localhost /]# mount /dev/sda1 /mnt/efi
[root@localhost /]# cd mnt/efi/
[root@localhost efi]# ls 0l
ls: cannot access 0l: No such file or directory
[root@localhost efi]# ls -l
total 2
drwxr-xr-x. 4 root root 1024 May 10 2016 EFI
drwxr-xr-x. 2 root root 1024 Oct 11 2016 System Volume Information



root@localhost efi]# cd EFI/
[root@localhost EFI]# ls
Boot Microsoft
[root@localhost EFI]# cd Microsoft/
[root@localhost Microsoft]# ls
Boot Recovery
[root@localhost Microsoft]# cd Boot/
[root@localhost Boot]# ls
ar-SA de-DE hu-HU kdstub.dll ru-RU
BCD el-GR it-IT ko-KR sk-SK
BCD.LOG en-GB ja-JP lt-LT sl-SI
BCD.LOG1 en-US kd_02_10df.dll lv-LV sr-Latn-CS
BCD.LOG2 es-ES kd_02_10ec.dll memtest.efi sr-Latn-RS
bg-BG es-MX kd_02_1137.dll nb-NO sv-SE
bootmgfw.efi et-EE kd_02_14e4.dll nl-NL tr-TR
bootmgr.efi fi-FI kd_02_15b3.dll pl-PL uk-UA
bootspaces.dll Fonts kd_02_1969.dll pt-BR updaterevokesipolicy.p7b
BOOTSTAT.DAT fr-CA kd_02_19a2.dll pt-PT winsipolicy.p7b
boot.stl fr-FR kd_02_8086.dll qps-ploc zh-CN
cs-CZ he-IL kd_07_1415.dll Resources zh-HK
da-DK hr-HR kd_0C_8086.dll ro-RO zh-TW
 
Old 11-10-2017, 08:48 AM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,504

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
THe output of the ls -l command on your efi partition shows only Boot and Microsoft which indicates that windows is installed EFI and Red Hat is not. If you had an EFI install of Red Hat, there would be a direcxtory there named redhat. I would suggest you go to the Red Hat site and look for instructions on installing it UEFI. You could start with the info at the Red Hat site at the link below:

https://access.redhat.com/documentat...de/ch-boot-x86
 
  


Reply

Tags
dual boot



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dualboot leonardkillo Linux - Newbie 3 11-24-2011 02:11 PM
Dualboot-problem, please help. :( jacobjuli Linux - Laptop and Netbook 25 09-30-2010 09:30 AM
grub for dualboot gawain Slackware 8 01-02-2007 02:09 AM
System won't boot properly knoppix doesn't initialize properly rodewan Linux - Software 0 01-23-2005 03:35 PM
Suse 9, RH9 wont install properly. Mandrake 9 wont boot properly? Help. l2ich84 Linux - Newbie 1 01-31-2004 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration