LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-21-2012, 08:14 AM   #1
Pfirti
LQ Newbie
 
Registered: Oct 2012
Location: Switzerland
Distribution: Debian
Posts: 4

Rep: Reputation: Disabled
Reboot harms hard drive after self compiled kernel... no unmount at shutdown?


Hi there,
I have a somewhat special setup that I'm working on. My Hardware is a i386 Cobalt RAQ 550. I was able to install Debian Squeeze 6.0 and compile 2.6.39.1 kernel. I use a 40 GB IDE hdd as system disk and a 3 TB hdd connected to PCI SATA controller. After installation of Debian on the system disk, I can login to format my 3TB disk:

Code:
parted /dev/sda
mklabel gpt
mkpart primary 1 -1
quit

mkfs.ext4 /dev/sda1
This gives me a nice partition on the disk that I can mount without problem:

mount /dev/sda1 /home

After rebooting (init 6) I can issue the same mounting command, but it returns the following:

mount /dev/sda1 /home:
mount: you must specify the filesystem type


mount -t ext4 /dev/sda1 /home:
mount: wrong fs type, bad option, bad superblock on /dev/sda1, ...


Is it possible that my drive does not get unmounted properly at shutdown/reboot and gets messed up? Might I have forgotten something in the Kernel configuration for this not to happen? Help is very welcome, also let me know what are the relevant info to post here.
Thanks!

Attachments:
dmesg Output: dmesg.txt
lspci output: lspci.txt
kernel config file: 2.6.39.1-config.txt
 
Old 10-22-2012, 07:51 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
where is / ?
Also are you installing from cd or using debootstrap, as you have 2 drives, obviously sda & sdb?

Last edited by EDDY1; 10-22-2012 at 07:55 PM.
 
Old 10-22-2012, 10:09 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
After installation of Debian on the system disk, I can login to format my 3TB disk:
If you already installed debian to 1 drive the second drive would be sdb.
Post output of.... has to be run as root
Quote:
fdisk -l
 
Old 10-23-2012, 04:04 PM   #4
Pfirti
LQ Newbie
 
Registered: Oct 2012
Location: Switzerland
Distribution: Debian
Posts: 4

Original Poster
Rep: Reputation: Disabled
I had an IDE hdd (/dev/hda1 for "/" and /dev/hda2 for swap) and a SATA PCI controller with a /dev/sda). But now I needed this 3 TB hdd in another machine and tried to reconstruct with another 1 TB hdd I had laying around, but unfortunately the 1 TB hdd is not recognized at all (for whatever reason) by this machine. So I'll buy a new 3 TB hdd for further tests and get back here...
Thanks in advance!
 
Old 10-26-2012, 12:52 AM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Is it seen in bios? I think now debian classifies hdd drives as sda sdb sdc whether they are ide or sata drives. You can check dmesg or /var/log/messages to see what it says.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
External USB hard drive doesn't unmount cleanly at shutdown DavidHindman Slackware 6 02-18-2009 09:04 PM
Why can't I unmount my second hard drive? websissy Linux - General 13 11-13-2008 12:01 PM
Can't Mount External USB Hard Drive with Custom Compiled Kernel j0rd4n Slackware 2 03-09-2007 11:43 PM
[Unmount] Shut down hard drive Hoaxbe Linux - Hardware 2 06-21-2006 10:27 AM
do I need to unmount a hard drive? d'oh! Linux - Newbie 3 02-11-2004 03:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration