View previous topic :: View next topic |
Author |
Message |
Jarhead Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_at-at_driver.gif)
Joined: 26 Mar 2004 Posts: 474
|
Posted: Thu May 13, 2004 4:11 pm Post subject: changing filesystem type? |
|
|
I am using a Dell Inspiron 1100 with kernel 2.6.5-gentoo-r1. I set up my system to use ext3 filesystems for boot and root, but they show up as ext2 and xfs respectively. I have tried just altering the file in the past, but that doesn't work... Can I change this? _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nate_S Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Monkey Island/Monkey_Island_-_Monkey.gif)
Joined: 18 Mar 2004 Posts: 414
|
Posted: Thu May 13, 2004 4:14 pm Post subject: |
|
|
I'm confused, are you wanting to change the filesystem type or what it shows up as? Where is it showing up incorrectly? Also, could you post your fstab? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yngwin Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/23129146649050e56e4b94.jpg)
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Thu May 13, 2004 4:15 pm Post subject: |
|
|
I guess you didn't edit your /etc/fstab correctly. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jarhead Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_at-at_driver.gif)
Joined: 26 Mar 2004 Posts: 474
|
Posted: Thu May 13, 2004 4:20 pm Post subject: |
|
|
That is how my /etc/fstab showed up. I have just simply edited it in the past, but it wouldn't boot afterwards. My question is, how do I successfully make the change? _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jarhead Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_at-at_driver.gif)
Joined: 26 Mar 2004 Posts: 474
|
Posted: Thu May 13, 2004 8:22 pm Post subject: |
|
|
does anyone have any ideas? _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
yngwin Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/23129146649050e56e4b94.jpg)
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Thu May 13, 2004 9:38 pm Post subject: |
|
|
Post your current fstab and we'll help you. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
altorus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/5833800303f3ed455641b8.jpg)
Joined: 17 Aug 2003 Posts: 89 Location: Melbourne, Australia
|
Posted: Thu May 13, 2004 11:26 pm Post subject: |
|
|
Yeah, your fstab would come in handy.
Does booting them is just ext2 file systems work? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jarhead Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_at-at_driver.gif)
Joined: 26 Mar 2004 Posts: 474
|
Posted: Fri May 14, 2004 9:23 am Post subject: |
|
|
/etc/fstab
Code: |
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT /boot ext2 noauto,noatime 1 1
/dev/ROOT / xfs noatime 0 0
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
The machine boots and works fine, save an error that the root filesystem isn't ext2 during boot. Only problem is that it isn't doing what it is told. ![Very Happy :-D](images/smiles/icon_biggrin.gif) _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blue.sca l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/18846884543f82ded1dbe7f.jpg)
Joined: 28 Aug 2003 Posts: 680 Location: Mainz, Germany
|
Posted: Fri May 14, 2004 9:35 am Post subject: |
|
|
Jarhead wrote: | Code: |
/dev/BOOT /boot ext2 noauto,noatime 1 1
/dev/ROOT / xfs noatime 0 0
/dev/SWAP none swap sw 0 0
|
|
your machine boots with this? you have do change these lines to your needs, if boot-partition is the first partition on the first hd it should be /dev/hda1, not BOOT... _________________ geek by nature, linux by choice
i want my avatar back... thank you
:wq |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
vonhelmet l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 06 Apr 2004 Posts: 770 Location: Somewhere in a school
|
Posted: Fri May 14, 2004 9:37 am Post subject: |
|
|
Jarhead wrote: | /etc/fstab
Code: |
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT /boot ext2 noauto,noatime 1 1
/dev/ROOT / xfs noatime 0 0
/dev/SWAP none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
The machine boots and works fine, save an error that the root filesystem isn't ext2 during boot. Only problem is that it isn't doing what it is told. ![Very Happy :-D](images/smiles/icon_biggrin.gif) |
Well, it shouldn't work!
You should have to change those device names from /dev/ROOT to /dev/hda4 or whatever.
Very strange. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
neysx Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/17295657453e350b33c0b78.jpg)
Joined: 27 Jan 2003 Posts: 795
|
Posted: Fri May 14, 2004 9:41 am Post subject: |
|
|
It's amazing your system boots with such a fstab! I suppose your root is mounted because of the root= parameter of grub if you boot with it. Swap is most likely not used.
As mentioned in the installation instructions, you need to replace the BOOT, ROOT and SWAP with your partition names and file system types, e.g. (mine, not yours, do not copy verbatim) Code: | /dev/hde1 none swap sw 0 0
/dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda2 / reiserfs noatime 0 1
/dev/hda3 /tmp reiserfs noatime 0 1
/dev/hde2 /usr2 ext3 noatime 0 1
/dev/hdf3 /usr ext3 noatime 0 1
/dev/hde3 /db ext3 noatime 0 1
/dev/hdf1 /home reiserfs noatime 0 1
/dev/hdf2 /var ext3 noatime 0 1
/dev/lvm/mirrors /mirrors ext3 noatime 0 1
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
/dev/cdroms/cdrom1 /mnt/dvdrom iso9660 noauto,ro 0 0
/dev/cdroms/cdrom2 /mnt/cdrw iso9660 noauto,ro 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0 |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jarhead Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_at-at_driver.gif)
Joined: 26 Mar 2004 Posts: 474
|
Posted: Fri May 14, 2004 6:55 pm Post subject: |
|
|
my new fstab:
Code: |
# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hdc1 /boot ext3 noauto,noatime 1 2
/dev/hdc2 none swap sw 0 0
/dev/hdc3 / ext3 noatime 0 1
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0
|
I'll give this a whirl and see how it goes. _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jarhead Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Star Wars/movie_star_wars_at-at_driver.gif)
Joined: 26 Mar 2004 Posts: 474
|
Posted: Sat May 15, 2004 12:21 am Post subject: |
|
|
beautiful.... thank you! _________________ Hats off to everyone in leadership, developmental, or administrative capacities for Gentoo Linux. Your hard work is very much appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|