LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 07-24-2012, 04:31 PM   #1
mreff555
Member
 
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:
Code:
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
ukiuki
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.

Regards
 
Old 07-26-2012, 10:58 AM   #3
mreff555
Member
 
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.
 
  


Reply



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 LinuxQuestions.org 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

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

All times are GMT -5. The time now is 09:49 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