 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

23rd September 2009, 02:51 PM
|
|
Registered User
|
|
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289

|
|
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:
|

23rd September 2009, 03:10 PM
|
|
Registered User
|
|
Join Date: Sep 2009
Location: Salento - Italy
Age: 32
Posts: 507

|
|
Show me this command output please:
Code:
# cat /etc/grub.conf
|

23rd September 2009, 03:15 PM
|
|
Registered User
|
|
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289

|
|
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:
|

23rd September 2009, 03:33 PM
|
|
Registered User
|
|
Join Date: Sep 2009
Location: Salento - Italy
Age: 32
Posts: 507

|
|
|
Why ubuntu root partition (/dev/sda1) is ntfs ?
|

23rd September 2009, 03:40 PM
|
|
Registered User
|
|
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289

|
|
|
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:
|

23rd September 2009, 03:55 PM
|
|
Registered User
|
|
Join Date: Sep 2009
Location: Salento - Italy
Age: 32
Posts: 507

|
|
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.
|

23rd September 2009, 04:08 PM
|
|
Registered User
|
|
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289

|
|
|
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:
|

23rd September 2009, 04:20 PM
|
|
Registered User
|
|
Join Date: Sep 2009
Location: Salento - Italy
Age: 32
Posts: 507

|
|
|
My advice on post #6 serve the purpose to check partition contain.
|

23rd September 2009, 04:25 PM
|
|
Registered User
|
|
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289

|
|
|
Sorry
Quote:
Originally Posted by Sagitter
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:
|

23rd September 2009, 04:32 PM
|
|
Registered User
|
|
Join Date: Sep 2009
Location: Salento - Italy
Age: 32
Posts: 507

|
|
No problem shahdharmit
Quote:
|
...insure which is ubuntu root partition
|
/dev/sda1 is a ubuntu partition?
|

23rd September 2009, 04:40 PM
|
|
Registered User
|
|
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289

|
|
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:
|

23rd September 2009, 07:35 PM
|
|
Registered User
|
|
Join Date: Jun 2006
Posts: 7,551

|
|
|
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.
|

24th September 2009, 04:13 AM
|
|
Registered User
|
|
Join Date: Oct 2008
Location: Ahmedabad, India
Posts: 289

|
|
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:
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 09:19 (Saturday, 18-05-2013)
|
|
 |
 |
 |
 |
|
|