You are not logged in.

#1 2011-09-12 15:53:35

pseb
Member
From: Marburg, Germany
Registered: 2007-09-27
Posts: 85

[solved] no operation system found, but partitions seem to be ok

hi,
left my computer running for some hours (so nothing unusual), but when I came back screen was off, nothing happening, so I pressed the reset button. on reboot BIOS complained about finding no operation system. so i started  from an ubuntu live cd. at first i thought the hard drive crashed, but i can access all partitions (root, home) without any problem, and (thankfully) all the data is still there. fsck-ing the partitions produced no error.
has anyone any idea what's wrong? or what i could do to get more info?
thx,
pseb

Last edited by pseb (2011-09-12 17:08:47)

Offline

#2 2011-09-12 15:59:05

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [solved] no operation system found, but partitions seem to be ok

What boot loader?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2011-09-12 16:01:26

jakobm
Member
Registered: 2008-03-24
Posts: 132

Re: [solved] no operation system found, but partitions seem to be ok

Please check: partition table, boot flag, mbr intact
What have you written to the mbr and which bootloader are you using?

Offline

#4 2011-09-12 16:04:29

skodabenz
Banned
From: Tamilnadu, India
Registered: 2010-04-11
Posts: 382

Re: [solved] no operation system found, but partitions seem to be ok

pseb wrote:

hi,
left my computer running for some hours (so nothing unusual), but when I came back screen was off, nothing happening, so I pressed the reset button. on reboot BIOS complained about finding no operation system. so i started  from an ubuntu live cd. at first i thought the hard drive crashed, but i can access all partitions (root, home) without any problem, and (thankfully) all the data is still there. fsck-ing the partitions produced no error.
has anyone any idea what's wrong? or what i could do to get more info?
thx,
pseb

Did you have any external USB drive plugged in when you switched on the system? Some BIOSes have the nasty issue to overwriting the MBR of boot disk with that of a non-boot disk, upon boot failure of any external drive. If you are using syslinux, check whether you have active/boot flag enabled in your /boot partition.


My new forum user/nick name is "the.ridikulus.rat" .

Offline

#5 2011-09-12 16:16:07

pseb
Member
From: Marburg, Germany
Registered: 2007-09-27
Posts: 85

Re: [solved] no operation system found, but partitions seem to be ok

thx for your quick responses!

i'm using grub.
@jakobm: checked the partition table with fdisk /dev/sda, seems fine so far, bootflag is unchanged. or is there any better way to check? and: how can i check whats written in the mbr?
@skodabenz: yes, i had an external usb-drive plugged in.

Offline

#6 2011-09-12 17:08:31

pseb
Member
From: Marburg, Germany
Registered: 2007-09-27
Posts: 85

Re: [solved] no operation system found, but partitions seem to be ok

ok, after reinstalling grub from chroot my system works again. thank you for your hints, you saved my day smile

Offline

#7 2011-09-12 17:14:04

jakobm
Member
Registered: 2008-03-24
Posts: 132

Re: [solved] no operation system found, but partitions seem to be ok

To not let your question unanswered:

pseb wrote:

how can i check whats written in the mbr?

Read the first 440B from your disk and compare it with grub's stage 1, e.g.

dd if=/dev/sda bs=440 count=1 of=mbr
diff <(hexdump mbr) <(hexdump /usr/lib/grub/i386-pc/stage1)

Offline

#8 2011-09-12 17:18:38

pseb
Member
From: Marburg, Germany
Registered: 2007-09-27
Posts: 85

Re: [solved] no operation system found, but partitions seem to be ok

ah, good to know. i'll save that for later (though, of course , i will hopefully not need it ^^)

Offline

Board footer

Powered by FluxBB