Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-22-2009, 04:11 AM   #1
LQ Newbie
Registered: Jul 2009
Posts: 11

Rep: Reputation: 0
Making a root/boot system


I'm trying to make a basic root/boot system on an empty partition.
Ext2 filesystem and the kernel I'll be compiling is

As I make a huge mess of things repeatedly, I wanted to ask, can anyone point me to a guide on how to do this? Or give me the general outline
of what I should be doing.

I couldn't find such a guide after looking on google.

Also, how should I compile and install the kernel? Right now what I'm doing is mount the 'target' system on /mnt of my 'host' system, compile
the kernel on the host system, then issue the following:
sh arch/i386/boot/ arch/i386/boot/bzImage "/mnt/boot"
Then, depending on whether I tried adding module support or not, I also
make modules
make modules_install
Proceeding to copy /lib/modules/ to /mnt/lib/modules/

And I always try making an initrd image when it fails using
mkinitramfs -r /mnt -o initrd.img
and putting it in /mnt/boot

What I'm doing feels wrong. Point me in the right direction please.

Thank you.
Old 07-23-2009, 01:00 AM   #2
Senior Member
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello, an empty partition is pretty useless when you want to install a kernel. To set up a minimal Linux-System you will have to be very! familiar with the boot-process. If you need further help, please explain what you intend to do with the System (along with some information about the host-system).



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
making a dual boot system..using grub in ubuntu 7.04 vaibhavpatil.87 Linux - Newbie 5 07-28-2007 03:02 AM
I try making an update and now system doesend boot danielganea Slackware 8 09-30-2005 04:11 AM
I try making an update and now system doesend boot danielganea Linux - Software 1 09-22-2005 04:15 AM
Boot Error: Root file system /dev/root adtomar Linux - Networking 0 12-27-2004 10:50 AM
making boot floppy...after system has crashed jagibbs Debian 2 11-30-2004 01:11 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration