[Solved] Fix MBR

Non release banter
Post Reply
Jack
Contributor
Contributor
Posts: 1081
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

[Solved] Fix MBR

Post#1 by Jack » 04 Oct 2013, 14:10

Can anyone tell me how to fix the Master Boot Record on my thumb drive they won't boot up anymore?
Last edited by Jack on 06 Oct 2013, 02:31, edited 1 time in total.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5503
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Fix MBR

Post#2 by brokenman » 04 Oct 2013, 16:42

This really depends on what you are wanting to boot into. If it is Porteus then you can use a console and move into the thumb drives boot folder and run the Porteus installer again. This will install the boot loader and write to the MBR of the thumb drive.
How do i become super user?
Wear your underpants on the outside and put on a cape.

Jack
Contributor
Contributor
Posts: 1081
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Fix MBR

Post#3 by Jack » 04 Oct 2013, 18:07

brokenman wrote:This really depends on what you are wanting to boot into. If it is Porteus then you can use a console and move into the thumb drives boot folder and run the Porteus installer again. This will install the boot loader and write to the MBR of the thumb drive.
I already try to do that and when I boot it I just get a blank screen. I can format it and put files on the thumb drive but when I put Porteus on it I just get a blank screen.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
wread
Module Guard
Module Guard
Posts: 1080
Joined: 09 Jan 2011, 18:48
Distribution: Porteus v3.2.5-kde5-64 bits
Location: Santo Domingo
Contact:

Re: Fix MBR

Post#4 by wread » 04 Oct 2013, 19:49

You do as brokenman says; if it doesn't work then your pendrive is defect :(
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!

User avatar
fanthom
Site Admin
Site Admin
Posts: 4588
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Fix MBR

Post#5 by fanthom » 04 Oct 2013, 20:53

I already try to do that and when I boot it I just get a blank screen.
which stage is it? can you reach syslinux boot menu? what's the last string you can see on the screen?
Please add [Solved] to your thread title if the solution was found.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5503
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Fix MBR

Post#6 by brokenman » 04 Oct 2013, 20:54

If you have been playing around with the UEFI it is also possible that a GUID has been written to the USB device. If this is the case then you can return the USB to normal like this:
parted /dev/sdx
mklabel msdos
quit


If you want to nuke the MBR you can use this command (replace sdX with the path of your usb device)
BE ABSOLUTELY SURE YOU TYPE THE USB DEVICE PATH OR YOU WILL NUKE YOUR HD's MBR
dd if=/dev/zero of=/dev/sdX bs=512 count=1
How do i become super user?
Wear your underpants on the outside and put on a cape.

Jack
Contributor
Contributor
Posts: 1081
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Fix MBR

Post#7 by Jack » 05 Oct 2013, 01:41

I don't know going on but now up to 3 thumb drive that don't work. Wish I had another computer to try them on.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

donald
Full of knowledge
Full of knowledge
Posts: 1175
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Fix MBR

Post#8 by donald » 05 Oct 2013, 01:52

@Jack
disconnect all usb-devices (exept mouse and keyboard)
1)Try another usb-port
2)Try to boot them with plop.(boot a porteus Live-CD,at the splashscreen select plop,
in plop select usb)...just a try..
EDIT:
Have you changed something in your bios?

Jack
Contributor
Contributor
Posts: 1081
Joined: 09 Aug 2013, 14:25
Distribution: Porteus 3.2.rc5 Mate 64 bit
Location: Marysville, OHIO USA

Re: Fix MBR

Post#9 by Jack » 06 Oct 2013, 02:31

I found what is wrong with my tnumb drives they were fotmat fat and fat32. How dumb I'm I not to know that.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

Post Reply