Creating a filesystem to use free space on an existing filesystem
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Creating a filesystem to use free space on an existing filesystem
Hello!
I use a 250GB hard disk formatted with NTFS in the entire partition. I need to install the Solaris on existing free space. I use the Windows ver. 8 and Ubuntu, uname -a result 'Linux ubuntu 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux'. I managed to create a mode using mknod with major 8 and minor 19.
I am also able to use the directory as in copying files in and out and read and write.
The problem is that the device file does not remain on disk once I reboot.
On mounting with ext3, the filesystem I choose to use, I get
"
root@ubuntu:~# mount -t ext3 /dev/sda2 /root/temp
mount: no medium found on /dev/sda2
"
Kindly help. The /dev/disk/by-id area shows no listing for this file. So also the proc area. I find the udev system installed. Kindly help as I do not know how to proceed.
Intend to later install FreeBSD on another free space area, or maybe another partition. At present no further disk space available.
Replying to your question, I too had the doubt when first installing Ubuntu. But ubuntu has installed along with Windows using the Windows partition. Ubuntu supports NTFS. Technically it is interesting, the fact is, that I have both systems on the same partition. I use one system at a time, through the boot. I can read the Windows filesystem' files through Ubuntu and vice versa. They both share the common partition.
I wanted to install another version of Unix in my system after the successful installation of Ubuntu on Windows. Ubuntu downloaded and installed on its own. While getting used to the linux different packages' installation, I got to read about the various installations through certain downloads. Following the iso file distribution of Solaris and FreeBSD, I got to understand the creation of device nodes and individual device file creations to accomodate the hard disk space for files. The installation of Solaris in particular asks for a device file already available as I am installing from a file downloaded onto the system in Ubuntu.
Correction it is node not mode. The result of 'df -h'.
is
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 984M 0 984M 0% /root/temp
That would be a wubi install - that is a special Ubuntu Windows build. It installs into a virtual disk.
This is *not* a normal Linux install, and will not support anything else. Especially Solaris or a BSD.
Free up some space (as in unallocated) and create new partition(s) for dual-boot installs.
I agree that I suspect it is a wubi installed ubuntu.
What should be possible is to shrink the C drive using windows. Allow enough room for Solaris.
Then install solaris. It may or may not require you to fix the boot loader you have.
I recommend you consider running a virtual machine then install solaris into it.
I am looking into the nested filesystems concept available in Linux. Using cfdisk I can allocate the free space and install another OS. As Linux has brought in varying unbelievable options(differences from earlier systems management), I am trying to work out the nested filesystems opportunity. I observe the difficulty in updating the NTFS of Windows or otherwise. Ubuntu's wubi install has probably introduced itself as an encrypted file listing. Likewise another raw file(raw as in oblique to Windows).
I would try and create an ext3 filesystem from ubuntu. Once I am able to work this, would I try to install Solaris. Since Solaris uses a device file, and if I can have a filesystem, looking forward to format it with ZFS. Sounds strange, but I will give it a try. Regards.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.