Fedora Linux Support Community & Resources Center
  #1  
Old 23rd September 2009, 02:51 PM
shahdharmit Offline
Registered User
 
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289
linuxfedorafirefox
Question Can I safely remove Ubuntu???

Hello,

I am having Fedora 11 installed on my laptop. I installed Ubuntu 9.04 a few days back but I don't seem to like it. I had installed grub loader of Ubuntu 9.04.
Code:
fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa5a2ee93

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        5181    41616351   83  Linux
/dev/sda2            5182       11234    48614400    7  HPFS/NTFS
/dev/sda3           11235       18698    59954580    5  Extended
/dev/sda4   *       18699       19457     6096667+   7  HPFS/NTFS
/dev/sda5   *       11235       11260      204800   83  Linux
/dev/sda6           11260       18698    59749375+  8e  Linux LVM

Disk /dev/dm-0: 57.0 GB, 57088671744 bytes
255 heads, 63 sectors/track, 6940 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 4093 MB, 4093640704 bytes
255 heads, 63 sectors/track, 497 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table
Is it safe to remove Ubuntu that's installed on /dev/sda1. /dev/sda5 is the /boot partition of Fedora 11. Deleting /dev/sda1 using gparted is ok? And will it boot Fedora's grub loader after I delete that partition?
__________________
Registered Linux User #503191

JUST DO IT.....!!!! :cool:
Reply With Quote
  #2  
Old 23rd September 2009, 03:10 PM
Sagitter Offline
Registered User
 
Join Date: Sep 2009
Location: Salento - Italy
Age: 33
Posts: 520
linuxfedorafirefox
Show me this command output please:

Code:
# blkid -L
Code:
# cat /etc/grub.conf
Reply With Quote
  #3  
Old 23rd September 2009, 03:15 PM
shahdharmit Offline
Registered User
 
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289
linuxfedorafirefox
Code:
blkid -L
device                                     fs_type        label           mount point                                    UUID
-------------------------------------------------------------------------------------------------------------------------------------------------------------
/dev/sda1                                  ntfs           OS              (not mounted)                                  8AA8956BA8955713
/dev/sda5                                  ext3                           /boot                                          e036da03-1422-4969-95ba-d63c35809a33
/dev/sda6                                  lvm2pv                         (not mounted)                                  qcVHTS-MqyS-1bN9-cLQ9-aTMt-N0Lw-O7sZIo
/dev/dm-0                                  ext4                           /                                              af4da990-ddc0-4d42-b038-2585c5288452
/dev/dm-1                                  swap                           <swap>                                         f72bc8a1-7d25-488d-88fb-d66a5b3d9577
/dev/mapper/vg_dharmit-lv_swap             swap                           <swap>                                         f72bc8a1-7d25-488d-88fb-d66a5b3d9577
/dev/mapper/vg_dharmit-lv_root             ext4                           /                                              af4da990-ddc0-4d42-b038-2585c5288452
/dev/sda2                                  ntfs           New Volume      (not mounted)                                  A234D7D234D7A815
/dev/sda4                                  ntfs           HP_RECOVERY     (not mounted)                                  2C88743C8874071C
and
Code:
cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,4)
#          kernel /vmlinuz-version ro root=/dev/mapper/vg_dharmit-lv_root
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,4)/grub/splash.xpm.gz
#hiddenmenu
title Fedora (2.6.30.5-43.fc11.i686.PAE)
	root (hd0,4)
	kernel /vmlinuz-2.6.30.5-43.fc11.i686.PAE ro root=/dev/mapper/vg_dharmit-lv_root rhgb quiet
	initrd /initrd-2.6.30.5-43.fc11.i686.PAE.img
title Fedora (2.6.29.6-217.2.16.fc11.i686.PAE)
	root (hd0,4)
	kernel /vmlinuz-2.6.29.6-217.2.16.fc11.i686.PAE ro root=/dev/mapper/vg_dharmit-lv_root rhgb quiet
	initrd /initrd-2.6.29.6-217.2.16.fc11.i686.PAE.img
title Fedora (2.6.29.6-217.2.8.fc11.i686.PAE)
	root (hd0,4)
	kernel /vmlinuz-2.6.29.6-217.2.8.fc11.i686.PAE ro root=/dev/mapper/vg_dharmit-lv_root rhgb quiet
	initrd /initrd-2.6.29.6-217.2.8.fc11.i686.PAE.img
title Ubuntu 9.04
	kernel /vmlinuz-2.6.28-11-generic
	initrd /boot/initrd.img-2.6.28-11-generic
__________________
Registered Linux User #503191

JUST DO IT.....!!!! :cool:
Reply With Quote
  #4  
Old 23rd September 2009, 03:33 PM
Sagitter Offline
Registered User
 
Join Date: Sep 2009
Location: Salento - Italy
Age: 33
Posts: 520
linuxfedorafirefox
Why ubuntu root partition (/dev/sda1) is ntfs ?
Reply With Quote
  #5  
Old 23rd September 2009, 03:40 PM
shahdharmit Offline
Registered User
 
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289
linuxfedorafirefox
Actually after running blkid -L I am wondering about the same thing. I formatted that part of my hard-drive. OS was the label that I had kept when I had Vista on /dev/sda1 about 3-4 months back. But then I installed Windows 7 for time-pass and finally Ubuntu a9.04 a week back. I expected it to be ext3 as well.
File Systems tab in Applicaitions->System Tools->System Monitor shows me it as ext3 only.
__________________
Registered Linux User #503191

JUST DO IT.....!!!! :cool:
Reply With Quote
  #6  
Old 23rd September 2009, 03:55 PM
Sagitter Offline
Registered User
 
Join Date: Sep 2009
Location: Salento - Italy
Age: 33
Posts: 520
linuxfedorafirefox
Quote:
title Ubuntu 9.04
kernel /vmlinuz-2.6.28-11-generic
initrd /boot/initrd.img-2.6.28-11-generic
Edit only this part of grub.conf so:

Quote:
title Ubuntu 9.04
root (hd0,4)
kernel /vmlinuz-2.6.28-11-generic
initrd /boot/initrd.img-2.6.28-11-generic
save grub.conf and close.

Try to boot ubuntu (if possible) and insure which is ubuntu root partition.

Last edited by Sagitter; 23rd September 2009 at 07:54 PM.
Reply With Quote
  #7  
Old 23rd September 2009, 04:08 PM
shahdharmit Offline
Registered User
 
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289
linuxfedorafirefox
Sagitter, I don't think there's any meaning in doing so because Fedora boot loader doesn't load. It's the Ubuntu boot loader that loads when I boot my machine. If it had been Fedora boot loader, then I would've simply deleted the /dev/sda1 partition using gparted and then removed the entry from grub.conf.
__________________
Registered Linux User #503191

JUST DO IT.....!!!! :cool:
Reply With Quote
  #8  
Old 23rd September 2009, 04:20 PM
Sagitter Offline
Registered User
 
Join Date: Sep 2009
Location: Salento - Italy
Age: 33
Posts: 520
linuxfedorafirefox
My advice on post #6 serve the purpose to check partition contain.
Reply With Quote
  #9  
Old 23rd September 2009, 04:25 PM
shahdharmit Offline
Registered User
 
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289
linuxfedorafirefox
Sorry

Quote:
Originally Posted by Sagitter View Post
My advice on post #6 serve the purpose to check partition contain.
Sorry.. I didn't get you. I can run Ubuntu perfectly well. I wish to delete Ubuntu. Sorry Sagitter, I didn't understand what you meant to say.
__________________
Registered Linux User #503191

JUST DO IT.....!!!! :cool:
Reply With Quote
  #10  
Old 23rd September 2009, 04:32 PM
Sagitter Offline
Registered User
 
Join Date: Sep 2009
Location: Salento - Italy
Age: 33
Posts: 520
linuxfedorafirefox
No problem shahdharmit

Quote:
...insure which is ubuntu root partition
/dev/sda1 is a ubuntu partition?
Reply With Quote
  #11  
Old 23rd September 2009, 04:40 PM
shahdharmit Offline
Registered User
 
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289
linuxfedorafirefox
Thanks for clarifying Sagitter.
Yeah /dev/sda1 is the root partition for Ubuntu. During the installation of Ubuntu I had set it as / partition for Ubuntu. So it means that it's the root partition for Ubuntu, if I am not mistaken.
__________________
Registered Linux User #503191

JUST DO IT.....!!!! :cool:
Reply With Quote
  #12  
Old 23rd September 2009, 07:35 PM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,550
linuxfedorafirefox
Hello shahdharmit,

Consider this idea. Before you do anything to Ubuntu, boot into Fedora, open a terminal, and re-install Fedora's GRUB in the master boot record with grub-install /dev/sda. When you then reboot, Fedora's GRUB should boot directly from BIOS, and you can then reformat /dev/sda1 for other uses. That should accomplish what you want with minimal disruption to Fedora's booting.
Reply With Quote
  #13  
Old 24th September 2009, 04:13 AM
shahdharmit Offline
Registered User
 
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289
linuxfedorafirefox
stoat, before reading your post, I had already done all those things that you had kept in do-not-do section. I removed Ubuntu from my machine knowing that I'll get an error. Finally I installed Fedora 11 on /dev/sda1 which made 2 partitions having Fedora 11. Then I checked your post and from the fully updated Fedora, I did grub-install /dev/sda which made things okay, finally. Thanks. I know I messed up my laptop like a fool.
__________________
Registered Linux User #503191

JUST DO IT.....!!!! :cool:
Reply With Quote
Reply

Tags
remove, safely, ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I safely remove the old kernel? xploder Alpha - Beta (Fedora 9 Only) 6 13th July 2008 10:58 PM
safely remove usb:howto???? srujanabobba Using Fedora 3 21st August 2006 11:22 AM
ipod safely remove FC 5 Simoo Hardware & Laptops 2 5th April 2006 01:59 PM
How to remove old kernels safely satimis Using Fedora 15 31st August 2004 03:48 PM


Current GMT-time: 12:32 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Ponnur - Kuta Photos - Albany Instagram Photos