Re: Swap partition isn't activated
Finally I found out how to make it work after some try and error
procedure.
The problem wasn't on the premount or bottom scripts customization. It
was that my initramfs setup wasn't loading the appropriate modules.
With:
echo "scsi_mod" >> /etc/initramfs-tools/modules
echo "sd_mod" >> /etc/initramfs-tools/modules
echo "libata" >> /etc/initramfs-tools/modules
echo "ata_piix" >> /etc/initramfs-tools/modules
echo "crc-t10dif" >> /etc/initramfs-tools/modules
I solved the internal disk swap issue and with:
echo "nls_base" >> /etc/initramfs-tools/modules
echo "usbcore" >> /etc/initramfs-tools/modules
echo "usb_storage" >> /etc/initramfs-tools/modules
I solved the USB swap issue.
Thanks for your help.
El lun, 10-01-2011 a las 10:27 +0100, Daniel Baumann escribió:
> swap handling happens during 12fstab
>
> On 01/10/2011 09:30 AM, Carlos Alarcon wrote:
> > + /scripts/live-bottom/12fstab
> > Begin: Configuring fstab ... done.
>
> since that doesn't show anything, you'll need to rebuild the initrd with
> a set -x in 12fstab.
>
> > I am afraid that live-boot cannot activate it on boot time because
> > it is on a USB disk and maybe sd_mod is not activated at the time the
> > machines swap is tried to be activated.
>
> that looks like the reason for it.
>
> for live-boot 3.x, i think about moving swap partition handling to
> live-config which would solve the problem too.
>
> if you depend on having the swap partition on usb with 2.x, i suggest
> you just locally include the required modules and initialize the device
> in live-premount.
>
> --
> Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
> Email: daniel.baumann@progress-technologies.net
> Internet: http://people.progress-technologies.net/~daniel.baumann/
>
>
--
Carlos Alarcón.
Tel: 916249029 ext: 2002
Reply to: