LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 01-31-2013, 02:15 PM   #1
enrico_dvchp
Member
 
Registered: Aug 2005
Location: firenze
Distribution: ubuntu
Posts: 106

Rep: Reputation: 15
How to be sure grub2 is uninstalled


Hi all,
I've tried without success to install ubuntu 12.04.1 LTS in dual boot with win8. My system is a 64 bit/uefi and since only grub2 is recognized by this system, my attempt to create a dual boot with grub1.99 resulted in a black screen "unable to find a bootable device".
So I've used my live-usb flash with Precise and I've installed Boot-repair.
I've used it to fix the mbr without reinstall grub. Actually now win 8 works well.
To avoid mistakes, I'd like to be sure grub is totally uninstalled from my system. in a second time, I'll try again with the suitable boot loader I can find in 12.10 or later in 12.04.2 LTS as Canonical will provide a really stable release.
I know my Dell XPS 8500 has a boot partition. It is ESP fat 32 , size 500 mb. As a result of a partition viewer, I see this first partition has Microsoft but even grub entries too.
Can you suggest me how to have a grub-clean system in order to reinstall the correct Grub without problems?
Sincerely.
Dvchp
Attached Images
File Type: jpg Immagine2.jpg (70.3 KB, 11 views)
File Type: jpg Immagine4.jpg (46.8 KB, 12 views)
 
Old 01-31-2013, 05:28 PM   #2
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,115

Rep: Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817Reputation: 817
Quote:
I see this first partition has Microsoft but even grub entries too.
You might but we can't see Grub entries. No sign of anything grub related in the images you posted. Was windows 8 pre-installed? Did you have secure boot, was it disabled before you tried to install Ubuntu? How did you try to install Ubuntu? Is windows 8 the only operating system currently on the system?

I'm not sure what your statement about version 12.04 and 12.10 is about. 12.04 is LTS and will have support long after 12.10 support ends, 12.04 is 5 years.
 
Old 02-01-2013, 12:02 PM   #3
enrico_dvchp
Member
 
Registered: Aug 2005
Location: firenze
Distribution: ubuntu
Posts: 106

Original Poster
Rep: Reputation: 15
Actually, the last action i've done with boot-repair is to restore mbr unchecking the reinstall grub option.
Sorry, I've overlooked that.
The idea grub esixts depends on the boot partition os listed. I expected ubuntu was no more in the list. On the contrary it is still there. See my attach jpg.
I premise I have a very little experience in system setup and UEFI is something new for me: probably the presence of the ubuntu folder does not matter. I don't know. Do you know I can proceed in a new ubuntu installation regardless the ubuntu folder in my boot partition?
----------
To answer your questions, as i changed my computer i've experienced 64 bit computer and the secure boot.
I've found windows 8 pre installed, and I need it for particular software, so I've tried to dual-boot Windows 8 and ubuntu 12.04 because I need also a stable and durable LTS release. In fact I've done it other times before.
I've read in some articles / forums that Grub2 is the better choice for an UEFI system. Actually Precise 1.04.1 has only the

Grub1.99. So I've upgraded ubuntu to the 12.10 release in order to make Grub2 as boot loader. The result was a Grub2 boot loader with odd entries, whose only those fit for ubuntu work not those for Windows. This the reason I've used boo repair. At first to uninstall-fixmbr-reinstall grub. After fail attempts, I've only repaires mbr and obtained a windows system. I think I had dualbooted some system years ago I can learn to do it now.
Bye soon,
dvchp
Attached Images
File Type: jpg Immagine5.jpg (70.3 KB, 9 views)

Last edited by enrico_dvchp; 02-01-2013 at 12:10 PM. Reason: additional info
 
Old 02-02-2013, 02:19 PM   #4
enrico_dvchp
Member
 
Registered: Aug 2005
Location: firenze
Distribution: ubuntu
Posts: 106

Original Poster
Rep: Reputation: 15
Additional information
===============================================================================================
ubuntu@ubuntu:~$ sudo parted -l
Model: ATA ST2000DM001-1CH1 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number Start End Size File system Name Flags
1 1049kB 525MB 524MB fat32 EFI system partition boot
2 528MB 570MB 41.9MB fat32 Basic data partition hidden
3 570MB 705MB 134MB Microsoft reserved partition msftres
4 705MB 1229MB 524MB ntfs Basic data partition hidden, diag
5 1229MB 199GB 198GB ntfs Basic data partition
8 199GB 924GB 725GB ext4
7 924GB 1993GB 1069GB ntfs
6 1993GB 2000GB 7358MB ntfs Microsoft recovery partition hidden, diag

Error: /dev/sdb: unrecognised disk label

Model: SAMSUNG HD103SI (scsi)
Disk /dev/sdc: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 1000GB 1000GB primary fat32 lba

Model: SanDisk U3 Cruzer Micro (scsi)
Disk /dev/sdd: 16.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 65.5kB 16.0GB 16.0GB primary fat32 boot, lba

Model: WD Ext HDD 1021 (scsi)
Disk /dev/sde: 3001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 3001GB 3001GB primary
ubuntu@ubuntu:~$
----------------- Guid Partition Table --------------------------------------------------------------------
ubuntu@ubuntu:~$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.5

Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0FF7F015-4185-4E5A-8BBC-98945CDB443E
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 14694 sectors (7.2 MiB)

Number Start (sector) End (sector) Size Code Name
1 2048 1026047 500.0 MiB EF00 EFI system partition
2 1032192 1114111 40.0 MiB FFFF Basic data partition
3 1114112 1376255 128.0 MiB 0C01 Microsoft reserved part
4 1376256 2400255 500.0 MiB 2700 Basic data partition
5 2400256 388349951 184.0 GiB 0700 Basic data partition
6 3892652032 3907022598 6.9 GiB 2700 Microsoft recovery part
7 1804087296 3892652031 995.9 GiB 0700
8 388349952 1804087295 675.1 GiB 0700
ubuntu@ubuntu:~$
----------------------------------------------------------------------------------------------------------------
Othr tests suggested?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
kcm-grub2 - No valid GRUB2/BURG installation could be detected cristi92b Linux - Newbie 2 06-14-2012 09:01 AM
uninstalled php sqon Linux - Newbie 9 01-21-2011 10:16 AM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 03:39 PM
uninstalled Mandrake10 Haggis56 Linux - Newbie 2 01-12-2005 08:30 PM
Can UP2DATE be uninstalled? How exactly??? jdruin Linux - Software 5 10-22-2003 07:29 PM


All times are GMT -5. The time now is 08:20 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration