Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-26-2005, 03:03 PM
|
#1
|
|
Member
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 693
Rep:
|
which config files are responsible for mounting and detecting filesystems..
Very Happy Hello to All,
Will someone help me which configuration files are responsible for mounting/detecting correct partitions with Linux..afaik they are /etc/fstab and /etc/mtab..any other files...please help...
I have a problem with my debian sarge 3.1 with 2.6.14-1-686-smp kernel from unstable repo.
everything worked well until i reinstalled XP and sarge kernel panicked... due to rearranged/renamed partition table.
i will expalin briefly,earlier my root partn is at /dev/sda7 is now at /dev/sda8 and my swap partiton earlier at /dev/sda6 changed to /dev/sda7...so i edited mounted sarge partition /etc/fstab and /etc/matb to correct partition names..rescued grub,but sarge kernel panicked
again saying it cannot find ext3fs on /dev/sda7...while sda8 is the correct partiton to look for..Thanks please give a hint what should be wrong......
|
|
|
|
11-26-2005, 03:05 PM
|
#2
|
|
Member
Registered: Sep 2004
Location: Second ring of youranus
Distribution: debian testing
Posts: 153
Rep:
|
etc/fstab
|
|
|
|
11-26-2005, 03:49 PM
|
#3
|
|
Member
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390
Rep:
|
Quote:
Originally posted by H2O-linux
etc/fstab
|
Read his post, fool! He already edited his fstab.
I would check to see if your edits took effect. Make sure you actually check that partition table with fdisk.
You shouldn't have to edit mtab, as that only takes effect once the fs is actually mounted. so don't mess with it, anything you change will just get overwritten once the partitions are properly mounted.
Last edited by purelithium; 11-26-2005 at 03:50 PM.
|
|
|
|
11-26-2005, 04:23 PM
|
#4
|
|
Member
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 693
Original Poster
Rep:
|
Thanks purelithium,i checked my debian partition with fdisk
Code:
fsck.ext3 /dev/sda8 -f
e2fsck 1.38 (30-Jun-2005)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda8: 140584/1343488 files (1.6% non-contiguous), 828552/2684855 blocks
how do i check superblocks ...i know that fsck.ext3 -b xxxx will do.but me silly,i don know about this superblocks,how to list or find them.....please help....
|
|
|
|
11-26-2005, 04:23 PM
|
#5
|
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
I'd say the kernel panic comes from wrong root= in menu.lst. Perhaps double check that also.
|
|
|
|
11-26-2005, 04:25 PM
|
#6
|
|
Member
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 693
Original Poster
Rep:
|
@makuyl
i rechecked menu.lst for root value it is correct.
|
|
|
|
11-26-2005, 04:31 PM
|
#7
|
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
Hmm, you might as well post the menu.lst
|
|
|
|
11-26-2005, 04:42 PM
|
#8
|
|
Member
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 693
Original Poster
Rep:
|
heres my menu.lst fyi i checked for superlocks error and fixed some
 errors...but gain kernel panic
Code:
root@ubuntu:~# vim /mnt/debian/boot/grub/menu.lst
Code:
title Debian GNU/Linux, kernel 2.6.14-1-686-smp (splashy)
root (hd0,7)
kernel /boot/vmlinuz-2.6.14-1-686-smp root=/dev/sda8 ro
#vga=786 quiet
initrd /boot/initrd.img-2.6.14-1-686-smp
savedefault
boot

|
|
|
|
11-26-2005, 04:52 PM
|
#9
|
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
You're right, looks ok. Perhaps reinstall grub then. Can't hurt anyway. Strange problem while afaict you've done everything correctly.
|
|
|
|
11-26-2005, 04:55 PM
|
#10
|
|
Member
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 693
Original Poster
Rep:
|
Thanks anyway..seems like i endup in a reinstall eh?..
|
|
|
|
11-26-2005, 05:09 PM
|
#11
|
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
Well, reinstallation is rarely needed but if you backup /etc and some such it won't take long to get everything back. I'd still try running grub-install and do "grep root menu.lst" just to see you don't have a default root or groot (hdx,y) that might be messing things up.
|
|
|
|
11-26-2005, 05:49 PM
|
#12
|
|
Member
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 693
Original Poster
Rep:
|
Thanks...i will try that....waiting for 4 days to fix the problem..... 
|
|
|
|
11-27-2005, 09:53 AM
|
#13
|
|
Member
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390
Rep:
|
I didn't mean checking your partitions with fdisk, I meant checking your partition table and making sure that the partition table listed by fdisk was the same as was listed in your fstab.
|
|
|
|
12-03-2005, 03:25 PM
|
#14
|
|
Member
Registered: Nov 2004
Distribution: Debian Testing+Sid
Posts: 693
Original Poster
Rep:
|
Yes.fstab is the same as fdisk -l lists.any one to help..me 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:25 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|