Pages

Search

Why can't ext4 file systems be used as a boot partition? - Forums Linux

Why can't ext4 file systems be used as a boot partition? - Forums Linux


Why can't ext4 file systems be used as a boot partition?

Posted: 17 Sep 2009 10:21 PM PDT

Hans-Peter Diettrich wrote: 

yerrss.. I thought about that, but the boot LOADER - grub, lilo or
whatever, simply resides in the boot SECTOR, which isn't really a file
*system* at all.

So teh sequence is

Bios loads boot sector and jumps to execute into it.
Boot code takes over and loads splash screens and ultimately the kernel
and enough OS to bootstrap the rest.

So its really down to whether or not the boot loader understands the
disk .. and sometimes it dont..and booting fails!


 

Dont see any really.
 

How to properly manage a custom profile?

Posted: 17 Sep 2009 11:53 AM PDT

Sidney Lambe wrote:
 

Idiot

And an apology to the "real idiots" who might be offended by comparing
that cretin to them
--
You're not my type. For that matter, you're not even my species

Font problem xorg applications in Fedora

Posted: 17 Sep 2009 09:48 AM PDT

Actually turned out to be a LOCALE issue. My locale was set
for UTF8 and most fonts don't support this apparently

Ian

The Natural Philosopher wrote: 

swap file vs swap partition

Posted: 16 Sep 2009 11:18 PM PDT

Hi,

I would like to share some difference between swap file and swap
partition.

Swap File,
1. If the hard disk is full or corrupted,swap file will get damaged.
2. System speed get decrease as soon the hard disk space is full.
3. It should be on a particular location where it should not get
damaged or accidentally copied with other files.
4. It have advantage to increase the swap space on a system that have
already installed with linux.
5. In any case if we need to increase the swap space of the system
immediately we can do it.
6. We can able to create and keep the swap file on external device eg:
Express Card SSD
7. New kernel have nearly achieved to make both swap partitions and
swap file speed closer.
8. Swap file will get fragmented.

Swap Partition
1. Reside on a separate hard disk space.
2. Multiple Os on a single machine can share the same partition.
3. Fragmentation is less compare to swap file.
4. If hard disk is corrupted the swap partition would not be
functioning.
5. Reduce accident loss or corruption.

*Choice depend on the type of activity we are doing on the system.
Increasing Ram will increase the speed of the machine than the swap
system. But product price will be high.

Cheers!
Melbin Mathew
www.talk2melbin.com



On Sep 17, 2:18am, celsius thomas <com> wrote: 

renaming of /tmp partition. Any adverse effect on OS

Posted: 15 Sep 2009 12:22 AM PDT

On Sep 15, 4:33pm, Aragorn <invalid> wrote: 

Thanks everybody for sharing your views.

The applications running under FreeBSD consider /home/app as the root
file system and we have a similiar layout like / under /home/app .
Directories like /tmp , /log , /bin , /etc are also
available under /home/app where these applications read and write . We
are not running any well known Internet services so we are not facing
any issues on the functioning of OS. These
FreeBSD hosts are being used for running our native applications.
 

We can use rsync with archive mode option to copy the contents from /
tmp to /home/ so all file systems permissions,ownerships etc will be
preserved 

Finally , I did the changes for moving /tmp to /home/ in Linux
without having any effect on the normal functioning of OS .
Applications which are failing are also running fine after the
changes. I rebooted
one host to check whether everything is fine or not. Everything looks
fine as of now. One bad thing I did during this change is that I
rebooted one Linux host as I was not able to unmount the
/tmp file-sytem using the umount command . But next time for other
hosts , I tried a lazy unmount which helped me to unmount /tmp without
reboot.

The setup now looks as follows.

===
df -h /tmp
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/sys-home 440G 1012M 416G 1% /home
--
ls -ld /tmp
lrwxrwxrwx 1 root root 10 Sep 15 03:55 /tmp -> /home/tmp/
ls -ld /home/tmp
drwxrwxrwt 7 root root 4096 Sep 16 03:10 /home/tmp
===

Thank You to All
Zaman

FC11 recompiling kernel: fail on kernel-firmware dependency

Posted: 14 Sep 2009 01:44 PM PDT

On Sep 14, 9:44pm, "K.A." <net> wrote: 
[snip]
 
[snip]
 
rpm does not dependency checking. What happens is that in the scripts
it runs in the rpms
being installed, it checks to see whether any dependencies are listed
and installed only. It
makes no attempt to fixed these if problems occur. yum will attempt to
satisfy dependencies.

From the listed rpms above, you will need to add the kernel-firmware
as well so the following
should work:

$: rpm -ivh ~/rpmbuild/RPMS/x86_64/
kernel-2.6.29.4-167.hpfs.fc11.x86_64.rpm ~/rpmbuild/RPMS/x86_64/kernel-
firmware-2.6.29.4-167.hpfs.fc11.x86_64.rpm

IOW, install both rpms at the same time.

HTH
ne...

2.6.x kernel on CentOS 3.9 (how??) RPM and source fail.

Posted: 12 Sep 2009 11:28 AM PDT

September Storm wrote: 

If you have built the kernel from source and nothing else, I'm surprised that
your CentOS works at all, as the system needs different module-init-tools and
mkinitrd and some changes in the init rc script.
I do suggest you try to find some RedHat8 howtos about the kernel update,
myself I did use those when I still was using RedHat7.3.

You must update the module-init-tools to a newer one, as you can't use the
same binary to load kernel 2.6 modules as for loading kernel 2.4 modules.
Keep in mind that the RPMs only will provide you with either 2.4 or 2.6
compatible binaries (there are some distributions that supplies both).

mkinitrd works in different way too, there are some broken versions, so pick
the right one. If I remember it right, a 2.4 module ends with .so while a 2.6
module ends with .ko.


If you really want to make a kernel from SRPM without the dependency, then
update the spec file so it don't contain the dependency requirement, but I do
suggest you do update module-init-tools and mkinitrd.

Not sure which compiler centos 3.9 uses, but back in those days RedHat had
always a quite experimental compiler and I remember that developers didn't
care about bugs reported from RedHat users who had compile errors as those
where from the experimental and broken compiler, this could be the cause for
your problem too.


You can always disable the CONFIG_DEBUG_SECTION_MISMATCH option to see if that
makes a difference.



If you want to make it easy, just upgrade or make a fresh install instead of
making own packages, as you will need to install new kernel-headers and then
rebuild glibc and I wouldn't be surprised if you would need to upgrade glibc
to build correctly, then you need to upgrade gd (it's a round dependency, so
you need to make a glibc without the gd support, then update gd, then make a
glibc with the gd support enabled), you may run into you need to update gcc
too and in the end you will have updated like 20-30 heavy packages to get the
system updated enough to get the benefit of running the 2.6 kernel.

Be happy that you won't try to include gnome2 to RedHat7.3, that was a big
job, took me some weeks, I got a so so dependency map from one of the gnome2
developers who happen to work for RedHat.


-- //Aho

Installing gnome-system-tools package wants to remove my installed

Posted: 01 Sep 2009 06:50 AM PDT

On 9/12/2009 9:44 AM PT, John Hasler typed:
 

Or Symantec, but that wouldn't make any sense. :D

 

I double clicked on gnone-system-tools package after searching and it
said to remove gnome and gnome-network-admin. It also said I have
v2.22.1-5 for the installed one and the latest is v2.22.2-1 (wow very
small changes).

It looks like apt, aptitude, and synaptic all agree the same thing on
dependencies.
--
At length, when they came to a (lowly) valley of ants, one of the ants
said: "O ye ants, get into your habitations, lest Solomon and his hosts
crush you (under foot) without knowing it." --Surah 27. The Ant, The
Ants, line 18
/\___/\
/ /\ /\ \ Phil/Ant @ http://antfarm.ma.cx (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Nuke ANT from e-mail address: netANT
( ) or com
Ant is currently not listening to any songs on his home computer.