Kernel modification environment



Hi guys,
I currently have Ubuntu 8.04 LTS-Hardy running on my
machine. I am learning about linux device drivers and hence I have to
compile and run the kernel after modifications, also I have to insert my own
custom built modules. Please suggest how to create an environment that does
not mess up with existing running setup, when I compile and boot into my
custom built kernel.The issue here probably is that for all my custom
compiled kernels and the currently stable kernel, the filesystem is the same
and as a result when the custom kernel boots up, it probably screws up my
driver nodes in the /dev directory. I would like to keep the filesystem for
the custom compiled kernels seperate from the stable kernel installed from
the CD. Please suggest, how to proceed.

Thanks and Regards,
Praseen

PS: I have already lost my current stable installation of the kernel after I
booted into my custom compiled kernel :(


Relevant Pages

  • Re: Distributions
    ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be ... and slower than if you compile those packages, ... can have that stability with virtually any distro. ...
    (Debian-User)
  • Re: Distributions
    ... Ubuntu is based on Debian, ... | general there are a lot of packages for people to use. ... kernel, have to run on a multitude of different systems, they tend to be larger ... and slower than if you compile those packages, ...
    (Debian-User)
  • Problems with custom kernel fbsd 6.2
    ... My kernel for freebsd 6.2 is not compiling but only with my custom config. ... I was able to compile it with the GENERIC kernel included, but my modified one will not compile. ... # Power management support ...
    (freebsd-questions)
  • Re: [PATCH] 2.6 workaround for Athlon/Opteron prefetch errata
    ... >optimisations independently of each other', is fairly simple, (in ... >concept), and elegant, (as it lets you compile the most finely tuned ... >Up to now, selecting a CPU to compile for basically means, "Use ... it's silly to include them all in a kernel for a 386. ...
    (Linux-Kernel)
  • [duke@spacebox.net: oops related crash]
    ... 00000000-0009ffff: System RAM ... 00100000-0020c991: Kernel code ... I just got this while trying to compile pciutils - ... oops through ksymoops and I've attached the output. ...
    (Linux-Kernel)