LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-19-2009, 08:55 AM   #16
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46

If "grub> find /sbin/init" found only "(hd0,5)" it does look like something is wrong.

When you mount /dev/sda8, do you see a file named "init" in the sbin directory there?

By default grub is usually installed in the MBR for both Debian and Ubuntu. When doing several multi-boot installs I have installed in the root partition and chain loaded sometimes. It makes it easier when I am trying out several distros one after the other in one partition. But that is not what you are doing.

Meanwhile, back at the ranch, one wonders what happened to your Ubuntu install. Do you still have the Ubuntu install disk? I think you can boot it and there is something about fixing it in one of the options. When you go through that, it looks like it is doing a new install, but you there is a place where you can fix grub. That would install a new grub for Ubuntu and should pick up the Debian install as well.
 
Old 03-19-2009, 09:08 AM   #17
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 18.04
Posts: 1,687

Original Poster
Rep: Reputation: 55
Yes, something is wrong!

Yes, I do have /sbin/init

Tried with the original Ubuntu dvd, but it wanted to install from new, and wipe out all data. Thought I might just get it started. But seems something is badly wonky.

Any tips?
 
Old 03-19-2009, 09:46 AM   #18
bitpicker
Member
 
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
You could try to let the Super Grub Disk do the work for you.

But I think that you may run into new problems when you upgrade the distros and they try to write new kernel information into the grub menu.

Robin
 
Old 03-19-2009, 01:12 PM   #19
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 18.04
Posts: 1,687

Original Poster
Rep: Reputation: 55
Well, Super Grub can start Debian, but that was not the problem.

It also finds Ubuntu, but can't start it: it says invalid or unsupported executable format, press any key to continue.

Looks like I'm heading for a re-install!
 
Old 03-19-2009, 01:54 PM   #20
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
There should be 3 different kernels listed for Ubuntu in your Grub list of choices. Did you try each of them?

I ask because of the error message about "invalid or unsupported executable format" The Grub manual says: "This error is returned if the kernel image being loaded is not recognized as Multiboot or one of the supported native formats (Linux zImage or bzImage, FreeBSD, or NetBSD)." I'm wondering if one of the earlier kernels will work.
 
Old 03-19-2009, 01:56 PM   #21
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 18.04
Posts: 1,687

Original Poster
Rep: Reputation: 55
Tried 'em all!
 
Old 03-19-2009, 02:02 PM   #22
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 18.04
Posts: 1,687

Original Poster
Rep: Reputation: 55
Before I re-installed Debian, I could boot into Ubuntu or Debian. After lots of probs with Debian, I did a re-install of the new version 5 via net install.

Since then, Ubuntu won't/can't start. Not even with Super Grub, cool as it sounds!

Any tips before I put the install in motion??

I backed up my home onto Debian. If that gets lost, I will be f*****!
 
Old 03-19-2009, 02:09 PM   #23
ajlewis2
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 217

Rep: Reputation: 46
Quote:
Originally Posted by Pedroski View Post
Any tips before I put the install in motion??

I backed up my home onto Debian. If that gets lost, I will be f*****!
Be very sure that you do not let the installer partition, but instead that you choose the same partition as before for your install of Ubuntu. I think that is called the Manual partitioning as opposed to the automatic way. That way you will not overwrite your data on Debian.

At least you know that you can boot into Debian with the Super Grub disk after Ubuntu writes over the MBR.
 
Old 03-20-2009, 06:23 AM   #24
Ill-Phil
LQ Newbie
 
Registered: Oct 2008
Location: Switzerland
Distribution: Kubuntu
Posts: 6

Rep: Reputation: 0
I believe you might be experiencing the same problem I had some time ago:
My Debian GRUB wouldn't boot Ubuntu... it turned out that this was because they slightly changed their implementation of ext3 to an inode size of 256 in Ubuntu 8.10 and while they changed their GRUB as well, Debian obviously did not.

I "solved" that by loading Ubuntu's GRUB into the MBR (from the grub shell) and using that GRUB version since.

Original thread.
 
Old 03-22-2009, 04:58 AM   #25
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 18.04
Posts: 1,687

Original Poster
Rep: Reputation: 55
Ah well, I am not even sure what an inode is. In the end, I re-installed Ubuntu. Now everything works fine!
There was a problem: if I only installed the system files, leaving my personal stuff untouched, I had no keyboard, it would not work. So I had to do format /dev/sda8, then install, then everything worked!
 
  


Reply


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
I lost my Ubuntu user name and/or password dieterschmied Linux - Newbie 3 10-11-2012 07:29 PM
Grub problem, lost Ubuntu Pedroski Ubuntu 7 03-19-2009 02:18 PM
LXer: How Ubuntu Lost Its Credibility LXer Syndicated Linux News 0 11-13-2008 10:00 AM
Firestarter for Ubuntu 7.04 is lost SidewalkCynic Linux - Newbie 16 03-27-2008 11:16 AM
Cant start X - seems to have lost fonts. Ubuntu 5.10. Peet_Nel Linux - Software 1 02-13-2006 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:53 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration