Gentoo Archives: gentoo-user

From: Thufir <hawat.thufir@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] fix fstab for tripleboot
Date: Tue, 17 Oct 2006 07:04:41
Message-Id: pan.2006.10.17.06.57.45.951106@arrakis.homelinux.org
1 How can I fix line 10 of /etc/fstab so that, like /mnt/windows, it's just
2 automagically available for read and write?
3
4
5
6
7 [root@arrakis ~]#
8 [root@arrakis ~]# cat /boot/grub/grub.conf -n
9 1 # grub.conf generated by anaconda
10 2 #
11 3 # Note that you do not have to rerun grub after making changes to this file
12 4 # NOTICE: You have a /boot partition. This means that
13 5 # all kernel and initrd paths are relative to /boot/, eg.
14 6 # root (hd0,0)
15 7 # kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
16 8 # initrd /initrd-version.img
17 9 #boot=/dev/hda
18 10 default=0
19 11 timeout=5
20 12 splashimage=(hd0,0)/grub/splash.xpm.gz
21 13 #hiddenmenu
22 14 title Fedora Core (2.6.18-1.2200.fc5)
23 15 root (hd0,0)
24 16 kernel /vmlinuz-2.6.18-1.2200.fc5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
25 17 initrd /initrd-2.6.18-1.2200.fc5.img
26 18 title Fedora Core (2.6.17-1.2187_FC5)
27 19 root (hd0,0)
28 20 kernel /vmlinuz-2.6.17-1.2187_FC5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
29 21 initrd /initrd-2.6.17-1.2187_FC5.img
30 22 title win2k
31 23 map (hd0) (hd1)
32 24 map (hd1) (hd0)
33 25 rootnoverify (hd1,0)
34 26 chainloader +1
35 27 title Gentoo
36 28 kernel (hd1,1)/kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb4
37 29 initrd (hd1,1)/initramfs-genkernel-x86-2.6.15-gentoo-r5
38 [root@arrakis ~]#
39 [root@arrakis ~]# exit
40 logout
41
42 [thufir@arrakis ~]$
43 [thufir@arrakis ~]$ cat /etc/fstab -n
44 1 /dev/VolGroup00/LogVol00 / reiserfs defaults 1 1
45 2 LABEL=/boot /boot ext3 defaults 1 2
46 3 devpts /dev/pts devpts gid=5,mode=620 0 0
47 4 tmpfs /dev/shm tmpfs defaults 0 0
48 5 proc /proc proc defaults 0 0
49 6 sysfs /sys sysfs defaults 0 0
50 7 /dev/hdb3 swap swap defaults 0 0
51 8 /dev/VolGroup00/LogVol01 swap swap defaults 0 0
52 9 /dev/hdb1 /mnt/windows vfat users,owner,rw,umask=000 0 0
53 10 #/dev/hdb4 /mnt/gentoo ext3 users,owner,rw,umask=000 0 0
54 11
55 [thufir@arrakis ~]$
56 [thufir@arrakis ~]$ date
57 Tue Oct 17 07:55:42 IST 2006
58 [thufir@arrakis ~]$
59
60
61
62 thanks,
63
64 Thufir
65
66 --
67 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] fix fstab for tripleboot Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
Re: [gentoo-user] fix fstab for tripleboot Alan McKinnon <alan@××××××××××××××××.za>