Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-24-2012, 04:31 PM   #1
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Rep: Reputation: Disabled
Never seen this on before. apt-get took a bite out of my boot partition.

So I'm using a Live disk after I screwed up my linux partition last night. The strange part is that usually I a better explanation to what happen. I've been running crunchbang for a few months now without any problems.

last night I updated/upgraded my system. No errors but it was acting extremely odd afterward. Finally I had to hard reboot. It loaded in to grub rescue, but there was no options. I realize then, that the reason why commands weren't working is because something had happened to my boot partition.

I've been trying to examine it. I can't mount it.
fdisk recognizes it as a linux partition, gparted doesn't know what type of filesystem it is. I was just about to format and reinstall when I got to wondering if there was anything actually on it still on it.
when I run:
sudo dd if=/dev/sda4 bs=512|hexdump -C |less
There appears to be something of a partition table, but I don't exactly know what I am looking for.
Has anyone ever seen this?

What I was wondering is, how unique is one MBR bootstrap code area from another? If I were to make another ext4 drive and dd the first 440 bytes to my screwed up drive is it possible that I could at least make it mountable?
Old 07-24-2012, 05:09 PM   #2
Senior Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
It don't hurt to try, but if you don't really know what is missing how to rebuild it? Now if you had a clone or can reproduce that same partition to compare then things would be alot easier. It isnt that hard to replace that broken partition with new one, but would be better to understand what happened.

Old 07-26-2012, 10:58 AM   #3
Registered: Sep 2011
Location: Philly
Distribution: Gentoo
Posts: 473

Original Poster
Rep: Reputation: Disabled
yeah, I just took the easy way out and reformatted. It kinda sucks, but this time I divided up my partitions like I should have before.


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
boot partition wont boot my distro from logicle partition Knightron Linux - Newbie 8 08-25-2011 02:50 AM
I don't bite. I nibble. ichigo@tea Member Intro 1 09-30-2008 01:16 PM
Can't boot after apt-update / apt-upgrade ozymandias Debian 2 09-06-2008 09:31 AM
Gnome 2.6 - I'll Bite oldweasel Mandriva 1 04-01-2004 09:44 AM
Anyone know how to take the bite out of Bluetooth? BarkingBonefish Linux - Hardware 0 03-26-2004 11:00 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration