You are not logged in.

#26 2015-05-07 18:00:13

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Kernel panic - not syncing No working init found.

Diadlo wrote:
warning: Sector 33 is already in use by the program 'FlexNet'; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.

That's why your system isn't booting -- there is something else in your MBR.

What is this "FlexNet" and how did you install it?

You can try blanking the MBR then chroot in and try to install GRUB again:

# dd if=/dev/zero of=/dev/sda bs=446 count=1

It might be worth backing up the MBR first (but maybe not 'cos it's clearly broken already):

# dd if=/dev/sda of=mbr.bak bs=512 count=1

Offline

#27 2015-05-07 18:04:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,803

Re: Kernel panic - not syncing No working init found.

That looks okay.  But sda1 is the first volume on the disk, and it does not start until sector 2048. hmm
Have you, per chance, created a file system on the driver rather than a volume on the drive at sometime in the past?

Edit: Posted at the same time as Head On A Stick.  It looks like we are chasing the same thought.

Last edited by ewaller (2015-05-07 18:05:30)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#28 2015-05-07 19:12:28

Diadlo
Member
Registered: 2015-05-06
Posts: 26

Re: Kernel panic - not syncing No working init found.

I never seen "FlexNet" name before. May be some dependence?
dd output:
1+0 records in
1+0 records out
446 bytes copied
grub-install after it get the same error about 33 and 34 sectors and FlexNet

It is normal?

Offline

#29 2015-05-07 19:20:15

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Kernel panic - not syncing No working init found.

Diadlo wrote:

It is normal?

Not even slightly...
hmm

I could be wrong, but I'm pretty sure that the partition table should be in those sectors.

Please post the output of:

# parted -l

Offline

#30 2015-05-07 19:26:22

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Kernel panic - not syncing No working init found.

A similar issue was reported @ http://ubuntuforums.org/showthread.php?t=1661254, but it also shows the need to wipe, and you need to be very careful if you want to keep your data

Offline

#31 2015-05-07 19:26:36

Diadlo
Member
Registered: 2015-05-06
Posts: 26

Re: Kernel panic - not syncing No working init found.

Offline

#32 2015-05-07 19:44:54

Diadlo
Member
Registered: 2015-05-06
Posts: 26

Re: Kernel panic - not syncing No working init found.

Spider.007 wrote:

A similar issue was reported @ http://ubuntuforums.org/showthread.php?t=1661254, but it also shows the need to wipe, and you need to be very careful if you want to keep your data

I do that. Now grub-install working without warnings. But grub already get error

Offline

#33 2015-05-07 19:45:06

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Kernel panic - not syncing No working init found.

Spider.007 wrote:

A similar issue was reported @ http://ubuntuforums.org/showthread.php?t=1661254, but it also shows the need to wipe, and you need to be very careful if you want to keep your data

@OP: So you can try the dd command suggested there but it will wipe your partition table as well as the bootloader:

# dd if=/dev/zero of=/dev/sda bs=512 count=1

After you have done this, if you recreate the exact same table with the same start and end points then you should be able to retain your information.

This can be done very accurately on GPT disks with gdisk (this gives exact sector locations for the partitions) but I'm not sure if you can acheive this on an MBR disk with fdisk or parted...

Offline

#34 2015-05-07 19:51:08

Diadlo
Member
Registered: 2015-05-06
Posts: 26

Re: Kernel panic - not syncing No working init found.

In post author says, that may be enough erase only 33 and 34 sectors. And I did it. But problem saved

Offline

#35 2015-05-07 20:11:26

Diadlo
Member
Registered: 2015-05-06
Posts: 26

Re: Kernel panic - not syncing No working init found.

I repeat all actions and it's worked. GRUB boot successfully. But error with init saved

Offline

#36 2015-05-07 20:38:22

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Kernel panic - not syncing No working init found.

Well, I'm all out of ideas sad

Perhaps someone else will be of more use.

Offline

#37 2015-05-07 20:50:42

Diadlo
Member
Registered: 2015-05-06
Posts: 26

Re: Kernel panic - not syncing No working init found.

I think I soon began to use arch linux. sad

Offline

#38 2015-05-07 21:02:39

Diadlo
Member
Registered: 2015-05-06
Posts: 26

Re: Kernel panic - not syncing No working init found.

It may be problem with HDD? Like bad sectors or something else?

Offline

#39 2015-05-07 21:04:09

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Kernel panic - not syncing No working init found.

Offline

#40 2015-05-07 21:40:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Kernel panic - not syncing No working init found.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#41 2015-05-07 21:51:07

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Kernel panic - not syncing No working init found.

jasonwryan wrote:

That's the one yes -- don't know what happened there, I'm usually a whizz with copy-pasting...
hmm

EDIT: That's really weird -- when I search via the ArchWiki search box for "smart" it takes me to the page I linked but if the URL is entered independently the page isn't found.
2015_05_07_225308_1920x1080_scrot.jpg

Last edited by Head_on_a_Stick (2015-05-07 21:54:18)

Offline

#42 2015-05-07 22:01:10

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Kernel panic - not syncing No working init found.

Periods are in the title, not the URL smile


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#43 2015-05-07 22:04:48

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Kernel panic - not syncing No working init found.

jasonwryan wrote:

Periods are in the title, not the URL smile

Check my scrot -- the URL in Iceweasel show the full stops.

Offline

#44 2015-05-07 22:12:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Kernel panic - not syncing No working init found.

That is odd. Let me look into it some more...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#45 2015-05-07 22:24:12

dcdriving
Member
From: United Kingdom
Registered: 2015-01-20
Posts: 70

Re: Kernel panic - not syncing No working init found.

@Head_on_a_Stick.  Your original link just missed the final period after the T.  Its typed but not included in the url.  I was intrigued!

Offline

#46 2015-05-08 07:21:54

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Kernel panic - not syncing No working init found.

dcdriving wrote:

@Head_on_a_Stick.  Your original link just missed the final period after the T.  Its typed but not included in the url.  I was intrigued!

Good catch -- thank you!

Offline

#47 2015-05-08 10:43:14

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Kernel panic - not syncing No working init found.

Does sda1 even contain your rootfs? What is on sda3? Does the fallback-grub option work? Does grub still output the error you posted in your topicstart No working init found? You can also have a look at https://bbs.archlinux.org/viewtopic.php?id=192296 which describes the same error, with a possible solution

The problem is that /usr/lib64/ should be a symbolic link to the /usr/lib/, but it was a folder containing something

Last edited by Spider.007 (2015-05-08 10:43:52)

Offline

#48 2015-05-08 11:20:21

Diadlo
Member
Registered: 2015-05-06
Posts: 26

Re: Kernel panic - not syncing No working init found.

Hmm... Yes. I didn't have link /usr/lib64 -> /usr/lib. I have done everything that he say. But nothing has changed. /usr/lib32 must be link on /usr/lib?

Last edited by Diadlo (2015-05-08 11:20:59)

Offline

#49 2015-05-08 11:28:42

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Kernel panic - not syncing No working init found.

Diadlo wrote:

/usr/lib32 must be link on /usr/lib?

No, /usr/lib32 is a directory containing libraries provided by packages from [multilib] repo.


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#50 2015-05-08 12:13:09

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: Kernel panic - not syncing No working init found.

If you're missing that you might be missing more. What does `pacman -Qkk filesystem` say (ignore the modification , size & permission mismatches) ?

Last edited by Spider.007 (2015-05-08 12:13:40)

Offline

Board footer

Powered by FluxBB