LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   remastering with a new kernel - how??? (https://www.linuxquestions.org/questions/linux-newbie-8/remastering-with-a-new-kernel-how-650703/)

kull01 06-21-2008 07:17 AM

remastering with a new kernel - how???
 
iam trying to remaster BOSS Linux (its a Debian based distro like Ubuntu) with a new kernel, i understand that not too many people know about BOSS, so even if anybody knows how to remaster Ubuntu or Debian or any other debian based distro's install cd to new kernel version please help :)

pinniped 06-21-2008 07:33 AM

1. Unpack the iso, copy the contents, and look at the "isolinux.cfg" file to see the kernel/initrd options
2. Replace the kernel/initrd options with your own (and of course replace the actual kernel and initrd). You may want to actually unpack and look at the initrd to see what goes in it. In fact you may want to base your new initrd on the older one - just replace the kernel's module directory with your own.
3. If you have 'grub', attempt to boot with that kernel/initrd just to make sure the kernel boots (you may get a kernel panic later on when you get to the stage of switching into the final 'root' filesystem)
4. Remaster the *.iso, cut it and try it out

kull01 07-03-2008 03:25 AM

Hi pinniped, I did as u have said, however now the install CD doesnt work coz the checksums have changed. help!!! how do i remaster and recalculate checksums???

onebuck 07-03-2008 06:51 AM

Hi,

Code:

excerpt 'man md5sum'
MD5SUM(1)                        User Commands                      MD5SUM(1)

NAME
      md5sum - compute and check MD5 message digest

SYNOPSIS
      md5sum [OPTION] [FILE]...

DESCRIPTION
      Print  or check MD5 (128-bit) checksums.  With no FILE, or when FILE is
      -, read standard input.

      -b, --binary
              read in binary mode

      -c, --check
              read MD5 sums from the FILEs and check them

      -t, --text
              read in text mode (default)

  The following two options are useful only when verifying checksums:
      --status
don't output anything, status code shows success

      -w, --warn
              warn about improperly formatted checksum lines

      --help display this help and exit

      --version
              output version information and exit

      The sums are computed as described in RFC  1321.  When  checking,  the
      input  should  be a former output of this program.  The default mode is
      to print a line with checksum, a character  indicating  type  (`*'  for
      binary, ` ' for text), and name for each FILE.

You can read the 'man md5sum' to see how.

To compute the md5sum for a file, then 'md5sum somefile' will compute and create a md5 for the file.


All times are GMT -5. The time now is 04:27 PM.