[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [D-I] Question about setting up palo/ext2 boot partition



On 4/17/07, Frans Pop <elendil@planet.nl> wrote:
I can now do the first 3 steps with /boot mounted on the palo partition.
At step 4 I run into a problem:
- it is not possible to run palo on a mounted partition
- if I unmount it and run it without '--format-as=2', the existing
  ext2 file system is lost
- if I unmount it and run it with '--format-as=2', the partition is
  formatted again and existing data is lost too

It appears that the -U option was intended for this use case, but that has
been disabled and looks to be abandoned.

Hmm, I have no problem running palo with -U on a mounted partition:

varenet@daisy:~$ ls /boot/
System.map-2.6.18-3-parisc64      initrd.img-2.6.18-3-parisc64-smp.bak
System.map-2.6.18-3-parisc64-smp  initrd.img.old
config-2.6.18-3-parisc64          lost+found
config-2.6.18-3-parisc64-smp      vmlinux
initrd.img                        vmlinux-2.6.18-3-parisc64
initrd.img-2.6.18-3-parisc64      vmlinux-2.6.18-3-parisc64-smp
initrd.img-2.6.18-3-parisc64-smp  vmlinux.old
varenet@daisy:~$ sudo -s
Password:
root@daisy:~# palo
palo version 1.14 kyle@duet Sat Apr  8 16:08:23 EDT 2006
ipl: addr 262144 size 36864 entry 0x0
ko 0x0 ksz 0 k64o 0x0 k64sz 0 rdo 0 rdsz 0
<1/vmlinux root=/dev/sda3 initrd=1/initrd.img>
root@daisy:~# umount /boot
root@daisy:~# mount /boot/
root@daisy:~# ls /boot/
System.map-2.6.18-3-parisc64      initrd.img-2.6.18-3-parisc64-smp.bak
System.map-2.6.18-3-parisc64-smp  initrd.img.old
config-2.6.18-3-parisc64          lost+found
config-2.6.18-3-parisc64-smp      vmlinux
initrd.img                        vmlinux-2.6.18-3-parisc64
initrd.img-2.6.18-3-parisc64      vmlinux-2.6.18-3-parisc64-smp
initrd.img-2.6.18-3-parisc64-smp  vmlinux.old
root@daisy:~# cat /etc/palo.conf
--update-partitioned=/dev/sda
--format-as=3
--commandline=1/vmlinux root=/dev/sda3 initrd=1/initrd.img

HTH

T-Bone

--
Thibaut VARENE
http://www.parisc-linux.org/~varenet/



Reply to: