LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2007, 01:13 PM   #16
kidburla
LQ Newbie
 
Registered: Feb 2007
Posts: 9

Original Poster
Rep: Reputation: 0

Quote:
Originally Posted by BillyGalbreath
I want to know how you're getting that "attempted to kill init" error if you dont have a linux os installed...

Are you trying to boot into a linux thats not there?
After I installed GRUB, I built the latest kernel from source, from the KNOPPIX live CD, and put the kernel itself and the System.map in /media/hda5/linux. I turned off module support, so I have a large kernel (since knoppix chroot does not seem to work for some odd reason), but it is only temporary. I also copied /bin/bash to /media/hda5/bin/sh.

I booted my system...

Code:
grub> root (hd0,4)
... (something along the lines of: filesystem type is ext2fs) ...

grub> kernel /linux/vmlinuz-2.6.19 init=/bin/sh
... (something along the lines of: Kernel mode is ...) ...

grub> boot
But it doesn't work! The kernel loads up and so on, but then I get an "attempted to kill init" error!

Basically I am just trying to create a very basic system, the most basic possible, without even util-linux or coreutils. Then I will build it up myself. In this way I shall create a "custom" linux distro! This is mainly for my own education, because I have got to the stage with linux where I think to myself, I know a lot already, why not try to make my own distribution?

Incidentally, I can still boot Windows:

Code:
grub> rootnoverify (hd0,0)

grub> makeactive

grub> chainloader +1

grub> boot
 
Old 02-28-2007, 08:31 AM   #17
BillyGalbreath
Member
 
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
Quote:
Originally Posted by kidburla
...Basically I am just trying to create a very basic system, the most basic possible, without even util-linux or coreutils. Then I will build it up myself. In this way I shall create a "custom" linux distro! This is mainly for my own education, because I have got to the stage with linux where I think to myself, I know a lot already, why not try to make my own distribution?...
This might be of interest to you then: http://www.linuxfromscratch.org/

I've built my own a couple of times already, and I do feel its the best way to learn linux from the inside out in depth.

When its all said and done though, I prefer Debian Sid.
 
  


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
installing GRUB survivor45 Linux - Newbie 1 07-27-2006 04:19 PM
Why grub prompt after installing Grub inder Debian woody 3.0r2? velan Debian 1 04-20-2004 04:55 AM
Re-installing XP with grub Rizla Linux - General 1 04-14-2004 07:43 AM
installing grub amatin Linux - Software 5 12-04-2003 11:45 AM
re-installing GRUB newbix Linux - General 8 10-27-2003 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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