LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-05-2008, 06:12 PM   #1
DeepSix713
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Rep: Reputation: 0
MBR Issue


Attempting to dual boot Vista/Ubuntu(my distro). Started with Vista because it seemed simpler as GRUB just makes itself the bootloader after you install linux, rather then having to reinstall GRUB if you go linux first. So I go along with it, Vista loads smoothly. Go ahead and install linux: doesn't see either OS(no GRUB error). Shruged it off and formated/deleted both partitions via Vista boot cd. Reinstall Vista: "bootmgr is missing". A note although I can not predictively reproduce this, I know theres two instances of Vista in the MBR, one is bootable and one is not, as I said this is not predictively reproducible.

So right now my goal is to delete everything(including the MBR) off the drive and start all over again, problem is I don't know how to do this. Is there a better way?
 
Old 02-05-2008, 06:31 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,713

Rep: Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549
Before you do anything, boot the Ubuntu liveCD, and from a terminal run this and post the results (it'll give us an idea of the Vista partition table)
Code:
sudo dd if=/dev/sda skip=446 count=66 bs=1 | hexdump -C | less
After that, you can scrub the disk like this (zero first 100 sectors - nothing scientific)
Code:
sudo dd if=/dev/zero of=/dev/sda count=100
It appears Vista allocates partitions differently than everyone else - including XP. Allocate your partitions from Ububtu liveCD, then do the Vista install.

(presumes /dev/sda as your disk - it may be /dev/hda)
 
Old 02-05-2008, 06:58 PM   #3
DeepSix713
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Original Poster
Rep: Reputation: 0
66+0 records in
66+0 records out
66 bytes (66 B) copied, 0.00177635 seconds, 37.2 kB/s
00000000 80 20 21 00 07 fe ff ff 00 08 00 00 00 50 38 3a |. !..........P8:|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000040 55 aa |U.|
00000042
(END)

(I think this is what your looking for?)
 
Old 02-05-2008, 07:09 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,713

Rep: Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549
Yep - thanks.
 
Old 02-05-2008, 11:43 PM   #5
DeepSix713
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Original Poster
Rep: Reputation: 0
So scrub it?
 
Old 02-06-2008, 12:32 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 19,713

Rep: Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549Reputation: 3549
Ah sorry - yep, I would. I wanted that listing simply for info.
As a test I scrubbed a disk like I suggested, and gparted handled it fine - even formatted a NTFS partition. I expect Ubuntu will have gparted.
 
  


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
RHL3 won't boot after changing motherboard (grub, mbr issue) ahelis Linux - Software 5 01-17-2006 02:38 AM
MBR issue on Linux installation escordeiro Linux - Newbie 3 08-19-2005 09:50 PM
Bootloader (MBR) erased by XP (different ISSUE) Cr7pt0r Linux - Newbie 3 05-25-2005 08:48 PM
mbr issue on dual boot rhl7.1 dominant system m3rajk Linux - Software 8 12-04-2003 06:17 PM
LILO on NTFS mbr might be causing an issue mipia Slackware 5 08-13-2003 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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