Results 1 to 9 of 9
I am currently running dual boot Ubuntu with Windows Vista but Vista has long sence quite loading so I thought I might as well replace it with red hat or ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-08-2011 #1Linux Newbie
- Join Date
- Dec 2010
- Posts
- 110
dual boot Ubuntu, redhat
I am currently running dual boot Ubuntu with Windows Vista but Vista has long sence quite loading so I thought I might as well replace it with red hat or Fedora which I'M trying to learn anyway. How do I find out which partition my Ubuntu is on and which on Windows is on? I don't wan't to screw this up and delete my Ubuntu. Thanks.
- 03-08-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,160
Boot into Ubuntu and run this command from a command line window: sudo fdisk -l
This will show you what partitions are on your disc drive(s). It will tell which are NTFS and which are Linux. Obviously, the NTFS partition(s) are your Vista and possibly your Windows recovery volume. Those you can nuke. You do want to edit your grub configuration file in order to get rid of the Windows boot entry as well.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 03-08-2011 #3Linux Newbie
- Join Date
- Dec 2010
- Posts
- 110
Thanks, but how do I edit my grub config file? And does it matter if I do this before or after removing the partitions? Thanks again.
- 03-08-2011 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,160
Either should be ok, but before would be preferable. For current Ubuntu systems (that use grub2), this isn't so simple as editing a configuration file. You need to edit/remove entries from /etc/grub.d and then run grub-mkconfig with the output to /boot/grub/grub.cfg to update the configuration file (script). Personally, I think the grub2 methodology is a major step backward, as least as far as boot process simplification is concerned...
With earlier versions of Grub, you only need to remove the system entry from /boot/grub/grub.conf, and adjust the default boot partition if necessary. Takes about 3 seconds, and very little chance of mucking the system altogether, unlike Grub2.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 03-08-2011 #5
GRUB2 detects all installed OSes without any problem. Best way is, disable other OS detection and regenerate GRUB Menu.
Above code will regenerate GRUB Menu and will not detect Windows OS.Code:cd /etc/grub.d sudo chmod -x 30_os-prober sudo update-grub
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-08-2011 #6Linux Newbie
- Join Date
- Dec 2010
- Posts
- 110
I've just deleted all the NTFS partitoins as you said would be ok, then I installed redhat and told it to use free space that was on the disk. But now I don' t see Ubuntu on the grub loader anymore, pleaes help. Thanks.
- 03-08-2011 #7
Installers of RedHat and RedHat based distros ( CentOS, Fedora etc.) do not detect other installed OSes. You have to add entry of Ubuntu in RH GRUB Menu manually.
Method 1 :
Mount / partition of Ubuntu in RH and navigate to its boot folder. Note down kernel version and create new entry in /boot/grub/grub.conf file of RH.
Method 2 :
RE-install GRUB of Ubuntu. Boot up from Ubuntu LiveCD and follow instructions from here [13. Reinstalling GRUB 2 from the LiveCD] to re-install GRUB2. GRUB2 will detect RH and it will add an entry of RH in Menu.
I would suggest you to go for Method 2.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-08-2011 #8Linux Newbie
- Join Date
- Dec 2010
- Posts
- 110
Thanks, I'M working on that now.
- 03-08-2011 #9
Do let us know how it goes.
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote

