← Revision 1 as of 2001-12-07 10:41:19 →
Size: 2014
Comment:
|
Size: 2312
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
{{{# cdfisk /dev/hde}}} | {{{# cfdisk /dev/hde}}} |
Line 36: | Line 36: |
* Make the image bootable with grub: | * Modify /mnt/etc/lilo.conf so the top section reflects the current device name of the drive |
Line 38: | Line 38: |
{{{# }}} |
* Make the image bootable with lilo (first {{{# exit}}} out of the chroot'ed environment): {{{# lilo -r /mnt -C /etc/lilo.conf}}} * Boot the drive up in the Stylistic and then install grub (do this on the Stylistic): {{{# grub-install }}} |
This document goes hand in hand with the DebianLinuxAccessPoint page. Once your image is created this shows you how to load the image onto a FujitsuStylistic1000. A very beta image is [http://www.personaltelco.net/download/warez/debian-ap-image-20011112.tar.bz2 now available]. -- AdamShand
See also: HostApMode
- Put drive in laptop, it should show up as /dev/hde (if it doesn't you'll need to adjust the rest of the document accordingly).
- Format the disk (if you don't have cfdisk, normal fdisk will do just fine):
# cfdisk /dev/hde I set my partition table up like this and it seems to work fairly well. {{{hde1 Boot Primary Linux 299.93
hde2 Primary Linux swap 41.15}}}
- Format the filesystem (we'll upgrade to EXT3 later):
# mke2fs /dev/hde1
- Mount the drive:
# mount /dev/hde1 /mnt
- Untar the image onto the drive (note the image is compressed with bzip2 so it will require a recent version of tar and the bunzip2 utility), on my laptop this takes 2 or 3 minutes:
# tar Ixvf /mnt/debian-ap-image-yyyymmdd.tar.bz2 -C /mnt
- Chroot into the mount point so that you can
# chroot /mnt
- Update the filesystem to support EXT3:
# tune2fs -j /dev/hde1
- Modify /mnt/etc/lilo.conf so the top section reflects the current device name of the drive
Make the image bootable with lilo (first # exit out of the chroot'ed environment):
# lilo -r /mnt -C /etc/lilo.conf
- Boot the drive up in the Stylistic and then install grub (do this on the Stylistic):
# grub-install
--- Bugs with 11/28 image ---
- DNS Server doesn't load upon bootup
- DHCP Server doesn't load upon bootup
- Screen doesn't turn off (might be my bios settings)
- How do you make grub bootable? (without loading lilo first and then booting and choosing grub)
- Needs update to 2.4.16 (includes Ext3 now)
- Add simple batch file or configuration to switch to bridging instead of nat
- brctl addbr br0
- ifconfig eth0 0.0.0.0
- ifconfig wlan0 0.0.0.0
- brctl addif br0 wlan0
- brctl addif br0 eth0
- brctl stp br0 off
- ifconfig br0 up
- pump -i br0