[Voyage-linux] Voyage 0.9 installation problem with Grub
Joshua Anhalt
(spam-protected)
Tue Oct 16 19:51:05 HKT 2012
If you're using the machine in the intended Voyage read-only mode, then no, ext4 doesn't have much use. (It supports the TRIM function for SSDs, but if the disk is read-only then no files are being deleted, the TRIM function isn't being used.)
If you want a writable partition, then ext4 has some very powerful barrier mechanisms that provides fairly reliable disk writes in a bad environment. Voyage already supports ext4 partitions as long as it doesn't include /boot.
If you want a writable root partition, then ext4 has a strong case. But then there is less of a reason to use Voyage.
Joshua
On Oct 16, 2012, at 3:48 AM, Michael Fung wrote:
> Is there any points in using ext4 for /boot or even the root fs in the alix environment? I hate grub2.
>
> I only use ext4 on my usb HDD.
>
> Rgds,
> Michael
>
> On 10/15/2012 2:16 PM, Kim-man 'Punky' TSE wrote:
>> Hi all,
>>
>> To support ext4, I think there are 2 options:
>>
>> 1. modify voyage-update related scripts to support grub2, or
>> 2. At installation, upgrade grub to grub2.
>>
>> I really don't want to touch existing grub1 code for installation. I
>> would rather run upgrade-from-grub-legacy at installation.
>>
>> http://wiki.debian.org/Grub#Upgrading_from_v1_to_v2
>>
>> Any volunteer?
>>
>> Regards,
>> Punky
>>
>> On 10/15/2012 10:44 AM, Joshua Anhalt wrote:
>>> Grub 1 (the default in Voyage) does not supporting booting to an ext4
>>> filesystem
>>> <https://ext4.wiki.kernel.org/index.php/Ext4_Howto#Booting_from_an_ext4_filesystem>.
>>> (There are some efforts to support that, but I don't think those
>>> patches are present in the current Voyage grub1.)
>>>
>>> You can install a recent grub2, or make a separate ext2/3 formatted
>>> /boot partition.
>>>
>>> Joshua
>>>
>>> On Oct 13, 2012, at 5:51 AM, kmpirkos at ece.upatras.gr
>>> <mailto:kmpirkos at ece.upatras.gr> wrote:
>>>
>>>> Thank you for your prompt reply. Using only one partition solved the
>>>> problem. The OS loads nicely.
>>>> However, is it possible to use a journaling file system like ext4
>>>> instead of ext2?
>>>> I tried altering format-cf.sh and use mkfs.ext4 instead of mkfs.ext2
>>>> and again, the grub> command prompt appears.
>>>>
>>>> The reason I prefer ext4 is to avoid inode reference problems after
>>>> sudden power-offs. Do you think that ext2 along with the read-only
>>>> mounting is enough? If so, after I shrink the main ext2 partition,
>>>> can I make an ext4 partition in the remaining space? I need
>>>> read-write access to the second partition.
>>>>
>>>> Regards,
>>>> Kostas Birkos
>>>>
>>>>
>>>>
>>>> Arun Khan wrote:
>>>>> On Fri, Oct 12, 2012 at 11:25 PM,
>>>>> <kmpirkos at ece.upatras.gr <mailto:kmpirkos at ece.upatras.gr>> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I have a problem while trying to install Voyage 0.9 in a CF card.
>>>>>> Using GParted in Ubuntu 12.04, I created 2 primary partitions in
>>>>>> the CF.
>>>>>> 2 GB for the OS and another 6 GB for storage. During the installation
>>>>>> process, I select the first partition to install Voyage.
>>>>>
>>>>> Rather than pre-partition the CF hard disk, let the VL installer
>>>>> choose the *entire* CF disk for the first partition.
>>>>> After completing the installation, you can shrink the first partition
>>>>> to your desired size and free up the rest.
>>>>>
>>>>> Also update the grub installation on the CF card.
>>>>>
>>>>> Let us know if this solves your problem.
>>>>>
>>>>> -- Arun Khan
>>>>>
>>>>> _______________________________________________
>>>>> Voyage-linux mailing list
>>>>> Voyage-linux at list.voyage.hk <mailto:Voyage-linux at list.voyage.hk>
>>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>>
>>>>
>>>> _______________________________________________
>>>> Voyage-linux mailing list
>>>> Voyage-linux at list.voyage.hk <mailto:Voyage-linux at list.voyage.hk>
>>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Voyage-linux mailing list
>>> Voyage-linux at list.voyage.hk
>>> http://list.voyage.hk/mailman/listinfo/voyage-linux
>>
>>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
More information about the Voyage-linux
mailing list