The config file of aboot is in /boot/etc, because:
If /boot is the ext2 boot partition, aboot looks relative to the mounted
partition to load etc/aboot.conf and the kernel and initrd. It loads then
the kernel and initrd and handles over to it. The real root partition is set
later and can be (and is mostly) be different.

The d-i installs on alpha always a separate and small ext2 /boot partition
and configures aboot to run from it.

The example on my computer (here /boot is on a SCSI ZIP100 disk (sda)
partitioned in d-i way (/boot is sda2, loader is in unformatted sda1),
because the later linux root partition is on an SATA disc (sdb) which is not
accessible from SRM):

[EMAIL PROTECTED]:/boot$ ls *
bootlx                                 net_aboot.nh
config-2.6.18-3-alpha-generic          net_pad
initrd.img                             System.map-2.6.18-3-alpha-generic
initrd.img-2.6.18-3-alpha-generic      vmlinuz
initrd.img-2.6.18-3-alpha-generic.bak  vmlinuz-2.6.18-3-alpha-generic

etc:
aboot.conf

lost+found:

[EMAIL PROTECTED]:/boot$ mount
/dev/sdb2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,nodev)
/dev/sdb3 on /var type ext3 (rw)
/dev/sdb1 on /home type ext3 (rw)
/var/roottmp on /tmp type none (rw,bind)
/dev/sda2 on /boot type ext2 (rw,noatime,nodiratime)

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [EMAIL PROTECTED]


> -----Original Message-----
> From: Adrian Zaugg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 25, 2007 9:05 PM
> To: [email protected]
> Subject: some aboot question
> 
> Dear list
> 
> Why must the boot partition for alpha be ext2? Isn't ext2 and ext3 the
> same for a read-only operation? How can aboot read its config file in
> /etc, which could reside on just any fancy fs?
> 
> Thanx for explaining this!
> 
> Regards, Adrian.
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to