I have Dachstein running on a hard disk.  In order to speed up booting while 
still maintaining the excellent backup scheme that has been implemented 
(much easier to upgrade), I configured the HD with 2 different partitions 
and had to make some changes to where configuration files went - as I don't 
_exactly_ understand the boot process trial and error was my testing method 
of choice - so I can't tell you why it works - just that it does - here are 
the quick (not aimed at begginers) instructions that differ from the normal 
HD / dachstein instructions -use what ever tools you want for partitioning 
and the like:

1.  Partition your HD - one primary partition, and one logical partition in 
the extended space.

2.  Syslinux the primary drive so it can boot linux. Get syslinux here:

http://syslinux.zytor.com/

3.  Copy all the files from the root directory of the CD to the root 
directory of the Hard drive - don't worry about the lib directory - as it 
probably won't work for you due to long file names.

4.  Extract bootdisk.bin to the primary hard drive - don't over write 
ldlinux.sys as you created that using syslinux.

5.  Make sure you can boot into dachstein - don't worry about any errors you 
get here - the system isn't configured yet.

6.  You'll need to make some changes to a few files - they should resemble 
these (notice where hda5 and hda1 are changed in each) all files should 
exist solely on hda1:

syslinux.cfg:

display syslinux.dpy
timeout 0
default linux append=load_ramdisk=1 initrd=root.lrp / initrd_archive=minix 
ramdisk_size=6000 root=/dev/ram0 / boot=/dev/hda5,msdos 
PKGPATH=/dev/hda1:msdos / 
LRP=etc,ramlog,local,modules,dhclient,dhcpd,dnscache,weblet,sshd-1,ssh-1

lrpkg.cfg:

etc,ramlog,local,modules,dhclient,dhcpd,dnscache,weblet,sshd-1,ssh-1

pkgpath.cfg

/dev/hda5:msdos,/dev/hda1:msdos

7.  Reboot - ignore erros

8.  Copy all modules you need to floppy and then mount the floppy (mount -t 
msdos /dev/fd0 /mnt) and copy them to /lib/modules.  You will also need to 
change /etc/modules  - basically you need to comment out anything that 
redirects to a directory other than /lib/moduels (just put a # in front of 
any line beginning with a #), and then uncomment anything needed by your 
nic.

9.  Backup modules (try a partial to hda5) - if that works reboot - you 
should see modules being loaded from hda1 then hda5 - if not you probably 
have one of the configuration files messed up

10. Assuming your NICs are being loaded properly you should be fine - just 
modify as you would any other system - and do partial backups of all 
packages for easy replacement of all packages or future upgrades.

Hope this helps some people out there.

S

>From: "Charles Steinkuehler" <[EMAIL PROTECTED]>
>To: "Stephen Lee" <[EMAIL PROTECTED]>,        "Leaf-user" 
><[EMAIL PROTECTED]>
>Subject: Re: [Leaf-user] 2 copies of etc in backup (Was: Migrating 
>Dachstein1.0.2-CD to harddrive?)
>Date: Thu, 6 Dec 2001 10:40:55 -0600
>
> > Much better, thanks! Routing and mosts packages working fine except for
> > backup. For some reason there are 2 listings for etc in the backup menu.
> > Selecting either copy results in "Could not mount backup device". In
> > this case it is /dev/hda1 on the HDD. Other packages like root and
> > modules backup fine. I checked syslinux.cfg and there is only 1
> > occurance of etc loaded. Why 2 copies of etc?
>
>Packaging info come from:
>/var/lib/lrpkg/packages
>-and-
>/var/lib/lrpkg/backdisk
>
>as well as the individual package files in /var/lib/lrpkg.  Somehow, one 
>(or
>more) of these files has probably gotten confused.
>
>Charles Steinkuehler
>http://lrp.steinkuehler.net
>http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)
>
>
>
>_______________________________________________
>Leaf-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/leaf-user


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to