Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub and what happens exactly when booting.
Date: Fri, 16 Sep 2011 18:44:32
Message-Id: 20110916204227.7cb9c66e@rohan.example.com
In Reply to: Re: [gentoo-user] grub and what happens exactly when booting. by Dale
1 On Fri, 16 Sep 2011 11:58:11 -0500
2 Dale <rdalek1967@×××××.com> wrote:
3
4 > Alan McKinnon wrote:
5 > > On Fri, 16 Sep 2011 10:47:01 -0500
6 > > Dale<rdalek1967@×××××.com> wrote:
7 > >
8 > >> Mick wrote:
9 > >>> You will need to patch your kernel (in your sdb test OS) and then
10 > >>> you will also need to make a reiser4 fs on your sdb partition(s)
11 > >>> (for that you'll need to emerge sys-fs/reiser4progs). If you want
12 > >>> to be able to mount reiser4 from within your sda OS, you will need
13 > >>> of course to patch your current kernel to start with,
14 > >>> alternatively use a LiveCD like sysrescue which comes already
15 > >>> patched. For patches look in here:
16 > >>> http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/
17 > >>> The way I do what you are trying to do is start with the existing
18 > >>> OS on sda, partition sdb, tar contents of sda partitions into
19 > >>> corresponding sdb partitions and then modify fstab. Depending on
20 > >>> what you want to test you may not need grub installed into sdb's
21 > >>> MBR and you may not need a /boot in sdb. As long as you are not
22 > >>> going to remove sda from the machine you should be able to add a
23 > >>> couple of lines in the original grub.conf to select to
24 > >>> boot /dev/sdb, while using sda's MBR and /boot partition. HTH.
25 > >> I could have swore reiserfs4 was in the kernel. Sure enough, it
26 > >> ain't. I'll wait then. I don't want to take the chance that
27 > >> something goes belly up then not have a bootable way to fix things.
28 > >
29 > > reiser4 was never in the kernel and the odds of it ever making it
30 > > there were about zero (coding style issues and many other things
31 > > that pissed Linux off). And that was in the days when Hans was
32 > > physically located in a place where he was allowed to code.
33 > >
34 > > For all practical purposes Reiser4 is dead. I haven't heard a peep
35 > > out of anyone claiming to maintain it for a few years now.
36 > >
37 >
38 > New question. I'm playing with LVM. What is the best file system to
39 > use that with?
40
41 The best one to use is the one you want to use.
42
43 LVM has nothing to do with type of filesystem, there is no such thing
44 as this one works and that one doesn't. So pick the one that suits your
45 needs.
46
47 > I know LVM can shrink and grow so a file system
48 > should be able to do the same, online would be great but not
49 > required. That would be good for a / partition but not needed for
50 > the rest. I can always go to single user and resize things.
51
52 Wrong question. See above.
53
54 >
55 > I don't want XFS tho. I used it before and it was a total disaster.
56 > I have a UPS but I also recall having to pull the plug when hal
57 > showed up too. No need for a repeat.
58 >
59 > Hmm, maybe I am thinking of ext4? Life's confusing. :/
60
61 ext4 is fine for your needs. I will be mighty surprised if your usage
62 ever hits ext4's limits.
63
64
65 --
66 Alan McKinnnon
67 alan.mckinnon@×××××.com