LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2014, 12:57 PM   #1
RobertBen
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Rep: Reputation: Disabled
How to remove NetBsd disklabel?


Hi everyone. Thanks for your help. My 4th primary partition is divided into several extended partitions. Xubuntu, Centos 6.5 and swap are my first three primary partitions. I installed NetBSD on sda5. It made a disklabel that I can't get rid of. I reformatted the partition as ext4 and ran update-grub. NetBSD still shows up in the grub2 menu even though it's gone. I deleted all the extended partitions in sda4 and then remade and reformatted them as ext4. Installed Arch on sda5. Again NetBSD shows up as a menu entry in grub2.

Gparted disklabel does not show the NetBSD disklabel. The disk utility in Centos 6.5 does not see the NetBSD disklabel I've Googled for several days now and found a lot of information on installing NetBSD but nothing on getting rid of it. The one thing that comes to mind is that when I formatted the partitions I did the quick format. Would it help if I overwrote the whole partition with X's? any advice would be appreciated.

Thanks,
RobertBen

Last edited by RobertBen; 09-10-2014 at 08:21 AM. Reason: Solved
 
Old 09-09-2014, 04:36 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,101

Rep: Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552
"NetBSD still shows up in the grub2 menu even though it's gone"

Three things come to mind. One is a BSD loader is someplace. Two is that grub hasn't been updated. Three is I don't know but see about the other two.
 
Old 09-10-2014, 08:45 AM   #3
RobertBen
LQ Newbie
 
Registered: Sep 2014
Posts: 3

Original Poster
Rep: Reputation: Disabled
Okay. Problem is solved. The whole system booted from grub2 (Xubuntu) on the first primary partition. I had removed all references to NetBSD from the 40_custom file and grub.cfg and ran update-grub. NetBSD still showed up.

All documentation for NetBSD stated that when installed to a partition and not the full disk that the installer did not write to the mbr. This and other documentation led me to believe that the disklabel was a file hidden somewhere at the beginning of the partition that NetBSD was installed to.

For one reason or another I had to reinstall Xubuntu on the first primary partition. When I did, the NetBSD disklabel disappeared. At this time I'm still not sure if the disklabel was in the mbr or hidden somewhere at the beginning of the sda1. But thankfully, the problem is solved. Thanks, everyone.
 
Old 09-10-2014, 05:00 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,101

Rep: Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552Reputation: 2552
Thanks for the update. Not sure I helped but...
 
  


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
fdisk - remove Sun disklabel lrt Linux - Newbie 2 01-18-2013 09:46 PM
What is the best disklabel for a Linux-only system? shaakunthala Linux - General 1 03-31-2009 12:13 PM
Disklabel 386BSD sci3ntist *BSD 0 08-12-2007 09:38 AM
Which disklabel for a pure Linux environment? gumpish Linux - Newbie 1 02-11-2007 11:49 AM
A bug? Disklabel problem sandboy6184 *BSD 0 12-03-2004 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration