LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-23-2006, 05:21 PM   #1
D0M1N1C
LQ Newbie
 
Registered: Aug 2005
Posts: 25

Rep: Reputation: 15
Various quations including booting, xwindows and device management


Hi.

I'm currently in the process of creating a small custom distro. But, because i can't get initrd to work properly, i thought i would go about it a different way.

Initrd basically loads an initial linux os which loads the neceasary things for the proper OS. So basically, i plan on the initial os to be dos!

The main reasons are because i can't get initrd working properly, so instead of being easy and fixing it, i though i would go and do things my own way, however, this thread hasnt been made for you all to flame me or teach me how to use initrd, i have my mind set on my own boot method now.

So i have a minimal windows boot disk that loads dos with CD support, im including gzip, loadlin and xmsdsk (to create a ramdisk) on this floppy image. this image can then be used for an el-torito boot off a CD.

So far i have a very basic OS, that just an ash prompt from busybox, i mean very basic. i don't have the boot routine done yet, but i can chroot and "work" in the environment. i still have the tedious task of creating all the links to busybox for each individual applet in there. does anyone know a quick/easier way?

So i have a few questions.

1. when i create a ramdrive with XMSdsk, what label will it have in linux? (eg /dev/ram0)

2. Im quiet certain it wont, but will this boot method have much of an effect on the final OS' performance. loadlin says that it will ovewrite the DOS footprints it has been loaded from, so in theory it should have no effect right?

3. this is a bit more of a DOS question, but could someone please outline the process of detecting the letter of the cdrom drive in dos, so then i can use gzip to extract a gz file off there and into the ram drive, then loadlin can launch the OS from there

Now some questions on xwindows, ive done a lot of reading, but im still now 100% familiar with xwindows.

4. how would i go about launching k-drive xserver? like a minimal install and then launch. if you don't know how to do this, then could someone please send me to a link that will explain how to create/install/run a minimal xserver.

5. how does the window manager and xserver know about eachother? like how does the xserver know which WM to launch and where it can be found etc, and how does the wm know where the xserver is?

Thanks guys.

Dom
 
Old 01-23-2006, 06:39 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Don't think I can answer any of your questions but if it is booting you after then burning a bootable Grub floppy in emulation mode into a CD is all that take to boot up any PC system.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Device Management mahednranit Linux - Networking 3 01-14-2006 04:59 AM
About OMA Device Management client George2 Programming 0 07-05-2005 05:41 AM
booting direct into Xwindows without login longnam Slackware 33 04-10-2005 09:01 AM
debian booting to xwindows w/ no mouse illennium Linux - Newbie 5 01-22-2005 04:43 PM
Problems with booting/Xwindows wolfzAz Linux - Software 8 06-13-2002 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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