Hi,
is it possible to create a minimal os with only one partition?
I dont like the lvm volume with /home.
Any how can i do this with installer?
Thanks for help
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Only one partition...
Re: Only one partition...
Anything is possible. But obviously the installer won't do it any other way than with the LVM. It's not that hard to convert though. Simply create a regular file system and mount that one as /home. However if you do plan to wipe al data in /home, you'd probably want to repartition the disk, moving the swap partition forward to become /dev/sda2
Yes, this is still a three partition scheme. Moving to one partition only will require you to run without swap space, or create a swap file. Steps would be:
Yes, this is still a three partition scheme. Moving to one partition only will require you to run without swap space, or create a swap file. Steps would be:
- boot the rescue system
- repartition the disk
- create an ext3 file system on the disk
- mount disk
- create a boot folder on the disk and copy uImage in that folder
- create a swap file using dd and run mkswap to create a swap file system inside it
- untar the payload file (it's gzipped) to the disk root
- edit etc/fstab to remove /home mount and use the swap file for swap
-
- Posts: 21
- Joined: 12 Jun 2014, 17:00
Re: Only one partition...
Thanks
this is what i tried out but with swap partition...
B3 wont boot inside os .-(
So i will try your work around.
But why i cant use swap parttion /dev/sda1 and data for /dev/sda2?
this is what i tried out but with swap partition...
B3 wont boot inside os .-(
So i will try your work around.
But why i cant use swap parttion /dev/sda1 and data for /dev/sda2?
Re: Only one partition...
U-boot in flash expects /boot/uImage to be in /dev/sda1. The B3 will not boot if it is not there. Further more the comandline parameters also tell the kernel that the root partition is /dev/sda1, so if you're using a stock kernel the basic file system has to be on /dev/sda1.
BTW Having a swap file instead of a swap partition is not the recommended way to install Linux
BTW Having a swap file instead of a swap partition is not the recommended way to install Linux
-
- Posts: 21
- Joined: 12 Jun 2014, 17:00
Re: Only one partition...
Ahh,
thanks for this info!
So i could use /dev/sda1 for data and /dev/sda2 for swap..
thanks for this info!
So i could use /dev/sda1 for data and /dev/sda2 for swap..