Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions > Arch Linux Help
Reload this Page Wrong hardisk mapping.....
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Arch Linux Help Help an discussion related to Arch

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-10-2007   #1 (permalink)
Linux Newbie
 
reiko's Avatar
 
Join Date: Aug 2007
Location: Chennai, India
Posts: 105
Wrong hardisk mapping.....

I've installed arch linux, the flaw i'm encountering my hard disk is IDE type but it names it as "sda" instead of "hda". Is it a bug in arch linux or is it the how it maps hardisk.
reiko is offline   Reply With Quote
Old 11-10-2007   #2 (permalink)
Super Moderator
 
Join Date: May 2004
Location: arch linux
Posts: 9,626
No, that's normal in Arch starting with the release of the 2.6.20 kernel.
__________________
oz

New Users: * FAQ *

ozar is offline   Reply With Quote
Old 11-11-2007   #3 (permalink)
Linux Newbie
 
reiko's Avatar
 
Join Date: Aug 2007
Location: Chennai, India
Posts: 105
ozar now the problem i encounter is filesystem check failed. I'll get u all the possible information regarding it.

Code:
$df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda8              27G  565M   25G   3% /
none                  252M     0  252M   0% /dev/shm
Code:
$fdisk -l /dev/hda
Disk /dev/hda: 80.0 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x340b340a

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1        1275    10241406    7  HPFS/NTFS
/dev/hda2   *        1276        1300      200812+  83  Linux
/dev/hda3            1301        9733    67738072+   f  W95 Ext'd (LBA)
/dev/hda5            1301        2575    10241406    7  HPFS/NTFS
/dev/hda6            2576        3791     9767488+  83  Linux
/dev/hda7            3792        6223    19535008+  83  Linux
/dev/hda8            6224        9733    28194043+  83  Linux
Code:
$cat /etc/fstab

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/cdrom1 /mnt/cdrom1   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/fd0 /mnt/fd0   vfat   user,noauto   0      0
/dev/sda8 / ext3 defaults 0 1
Now the error which i'm during boot is,
Code:
Checking Filesystems

/dev/sda8:

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is calid and it really contains an ext2
filesystem ( and not swap or ufs or something else ) then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock.
	e2fsck -b 8193 <device>

****************FileSystem Check Failed*****************

Please repair manually and reboot. Note that the root
filesystem is currently mounted read-only. to remount
it read-write type: mount -n -o remount,rw /
when you exit the maintenance shell the system will 
reboot automatically.

*************************************************************
then i altered the /etc/fstab,
Code:
$cat /etc/fstab

#
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
/dev/cdrom1 /mnt/cdrom1   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd /mnt/dvd   udf   ro,user,noauto,unhide   0      0
/dev/fd0 /mnt/fd0   vfat   user,noauto   0      0
/dev/sda8 / ext3 defaults 0 0 
I rebooted and then it gave me the login prompt without any error.
Now i want to know whether i have handled this problem in a good way or is my solution is not the better one.
reiko is offline   Reply With Quote
Old 11-12-2007   #4 (permalink)
Linux Newbie
 
reiko's Avatar
 
Join Date: Aug 2007
Location: Chennai, India
Posts: 105
Well OZAR u havent replied to my thread pls anybody help me out to fix this problem!!!!!!!!!
reiko is offline   Reply With Quote
Old 11-12-2007   #5 (permalink)
Linux Engineer
 
Join Date: Nov 2004
Posts: 785
The only change you made is not to check the filesystem on boot. Apparently this was causing the problem. It sounds like it works fine now that it gets past that check. You might want to run fsck yourself to check the fs, and see if it works for you manually instead of automatically.
valan is offline   Reply With Quote
Old 11-12-2007   #6 (permalink)
Super Moderator
 
Join Date: May 2004
Location: arch linux
Posts: 9,626
Quote:
Now i want to know whether i have handled this problem in a good way or is my solution is not the better one.
I really don't know why you are getting the file system error.

My own fstab entry for the root partition looks like this:

Code:
/dev/sda6   /            ext3          defaults                0      1
...and I've never gotten that error.

Maybe someone else will chime in with some clue as to where the error is coming from. In the interim, I'll post back if it should come to me.
__________________
oz

New Users: * FAQ *

ozar is offline   Reply With Quote
Old 11-12-2007   #7 (permalink)
Linux User
 
infoshirish's Avatar
 
Join Date: May 2007
Location: Pune, India
Posts: 397
Send a message via Yahoo to infoshirish
Hello rieko,

Well you wont get that error but i guess it exists. As when you edit fstab for zero then fsck won't check the filesystem. If its one then by default it always checks for filesystem though. Ozar is not getting any errors as might be his filesystem is working perfectly fine. According to me you need to check for bad blocks. But it will eat your huge time.

Also you can try tihs:-
Code:
Code:
 1. Boot to single user mode (maintenance mode) and give root pasword.
  2. Manually run fsck -y.
  3. Remount the file system as read/write (mount -n -o remount,rw /).
  4. Reboot the system to run level 2.
Also one strange thing i saw in your case for the outputs of df -h and fdisk /dev/hda Is it possible that it shows sda for df- h and hda for fdisk?
Anyways do update us.
__________________
Regards,

who |grep -i blonde |
date; cd~; unzip; touch;
strip; finger; mount; gasp;
yes; uptime; umount;
sleep

Newbie clicks
http://www.linuxforums.org/forum/lin...ead-first.html
infoshirish is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux crash after running windows..!!! Twinkle Peripherals / Hardware 8 09-19-2006 02:40 PM
Samba Drive Mapping for PDC docmur Servers 0 05-08-2006 03:57 PM
ALSA config wrong. Need help reconfiguring for a AK5370 USB mic as a second dev Dragonopolis Peripherals / Hardware 2 04-15-2006 11:26 AM
Wrong ID? denzilla SuSE Linux Help 2 01-15-2005 08:17 PM
XWindows has incorrect keyboard mapping ch19251 SuSE Linux Help 2 10-21-2004 03:26 PM

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 07:58 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0