Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] grub and what happens exactly when booting.
Date: Fri, 16 Sep 2011 02:57:04
Message-Id: CAA2qdGWrSiMx2jQOcPkD9+0Fju-zxWC=WQi7hjTKzjqmRHLXXw@mail.gmail.com
In Reply to: Re: [gentoo-user] grub and what happens exactly when booting. by Dale
1 On Sep 16, 2011 9:11 AM, "Dale" <rdalek1967@×××××.com> wrote:
2 >
3 > Dale wrote:
4 >>
5 >> << SNIP >>
6 >>
7 >> What I am reading so far:
8 >>
9 >> http://en.gentoo-wiki.com/wiki/Initramfs
10 >>
11 >> I did a google search and found some others boot this is more Gentoo
12 oriented. So, anything wrong with this as a guide? Pointers to others if
13 they are better would be great.
14 >>
15 >> Here starts a learning process. It could get bumpy. lol
16 >>
17 >> Dale
18 >>
19 >> :-) :-)
20 >>
21 >
22 > Oops, typo up there. Should read "I did a google search and found some
23 others *but* this is more Gentoo oriented." Hey, I got the first and last
24 right. lol
25 >
26 > While I am at this. I just noticed something else. I think this changed
27 after the openrc upgrade.
28 >
29 > root@fireball / # mount
30 > rootfs on / type rootfs (rw)
31 > /dev/root on / type reiserfs (rw,relatime)
32 > proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
33 > rc-svcdir on /lib64/rc/init.d type tmpfs
34 (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
35 > sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
36 > debugfs on /sys/kernel/debug type debugfs
37 (rw,nosuid,nodev,noexec,relatime)
38 > udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
39 > fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
40 > devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
41 > shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
42 > /dev/sda1 on /boot type ext2 (rw)
43 > /dev/sda8 on /var type ext3 (rw,commit=0)
44 > /dev/sda6 on /usr/portage type ext3 (rw,commit=0)
45 > /dev/sda7 on /home type reiserfs (rw)
46 > /dev/sdc1 on /data type ext4 (rw,commit=0)
47 > usbfs on /proc/bus/usb type usbfs
48 (rw,noexec,nosuid,devmode=0664,devgid=85)
49 > binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
50 (rw,noexec,nosuid,nodev)
51 > tmpfs on /var/tmp/portage type tmpfs (rw,noatime)
52 > root@fireball / #
53 >
54 > Now usually when I boot into a dual OS, I go to a console and type in
55 mount and make certain of what drive / is mounted too. Example for this, if
56 mounted to sda* then it is my main OS and if mounted to sdb* then it is my
57 test install. How does one decipher that up there? Heck, root could be
58 mounted on anything right now. I'm not going to remove any partitions right
59 now. I could be running off sdb and not even know it. o_O
60 >
61
62 Try 'realname /dev/root'. Or realpath, I forgot which exactly.
63
64 Heck, just do 'ls -la /dev/root' :-)
65
66 It's a symlink to the actual dev
67
68 Rgds,

Replies

Subject Author
Re: [gentoo-user] grub and what happens exactly when booting. Dale <rdalek1967@×××××.com>