SliTaz SliTaz Forum

You are not logged in.

#1 2011-05-25 12:39:10

gnjurac
Member
Registered: 2011-05-25
Posts: 4

LIVE CD does not recognize HDD

Hi,

I am completely new to Slitaz and after browsing new and old posts couldn't find this problem so please help with suggestions.

I've booted live cd and got to desktop screen but in gparted and terminal (fdisk) i can't see my hdd. it is formated to ext3 with gparted live.

please tell me what to enable or load to make it visible!

thanks

Goran

Offline

#2 2011-05-25 15:30:15

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: LIVE CD does not recognize HDD

Slitaz kernel may not have driver support for your hard disk controller.

Reply with output:

lspci | grep -i -e pci -e isa -e ide -e sata

dmesg | grep -i -e ide -e hda -e sda

Offline

#3 2011-05-26 11:39:11

gnjurac
Member
Registered: 2011-05-25
Posts: 4

Re: LIVE CD does not recognize HDD

Thanks for help!

This as an old Compaq laptop with K6-2 333 MHz and CD ROM + HDD 80GB IDE attached. During the execution of commands there was also 8GB USB plugged.

Here are the outputs:

lspci | grep -i -e pci -e isa -e ide -e sata

00:01.0 ISA bridge: OPTi Inc. 82C700 [FireStar] (rev 31)

00:0a.0 CardBus bridge: Texas Instruments PCI1131 (rev 01)

00:0a.1 Cardbus bridge: Texas Instruments PCI1131 (rev 01)

00:14.0 IDE interface: OPTi Inc. 82C825 [Firebridge 2] (rev 30)

dmesg | grep -i -e ide -e hda -e sda

BIOS-provided physical RAM map:

pci 0000:00:12.0: Boot video device

Uniform Multi-Platform E-IDE driver

ide_generic: please use 'probe_mask=0x3f' module parameter for probing all legacy ISA IDE ports

ide_gd driver 1.18

ide_cd driver 5.00

sd 0:0:0:0: [sda] 15633408 512-byte hardware sectors: (8.00 GB/7.45 GiB)

sd 0:0:0:0: [sda] Write protect is off

sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00

sd 0:0:0:0: [sda] Assuming drive cache: write through

sd 0:0:0:0: [sda] Assuming drive cache: write through

    sda: sda1

sd 0:0:0:0: [sda] Attached SCSI removable disk

sd 1:0:0:0: [sda] 15633408 512-byte hardware sectors: (8.00 GB/7.45 GiB)

sd 1:0:0:0: [sda] Write protect is off

sd 1:0:0:0: [sda] Mode Sense: 03 00 00 00

sd 1:0:0:0: [sda] Assuming drive cache: write through

sd 1:0:0:0: [sda] Assuming drive cache: write through

    sda: sda1

sd 1:0:0:0: [sda] Attached SCSI removable disk

Offline

#4 2011-05-26 19:10:08

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: LIVE CD does not recognize HDD

There are 3 config options in slitaz kernel which are not set for your OPTi hard drive controller.

tux@slitaz:~$ zcat /proc/config.gz | grep -i -e BLK_DEV_OPTI -e ATA_OPTI

# CONFIG_BLK_DEV_OPTI621 is not set

# CONFIG_PATA_OPTI is not set

# CONFIG_PATA_OPTIDMA is not set

Maybe it will work if you recompile kernel with those options set to =y

http://doc.slitaz.org/en:guides:kernel

Offline

#5 2011-05-26 19:54:57

gnjurac
Member
Registered: 2011-05-25
Posts: 4

Re: LIVE CD does not recognize HDD

That is something I am not familiar with. I am not sure where to start. I have read the guide from your link but it is not described in detail. If you look at this "Modify the kernel configuration to your needs, and compile." it is not for beginner. So please if you have some link with details on how to compile I would be glad to learn.

In any case thanks for the help!

Goran

Offline

#6 2011-05-28 13:20:40

babaorum
Moderator
Registered: 2011-03-29
Posts: 109

Re: LIVE CD does not recognize HDD

It is not so complicated.

As an example: [c]# CONFIG_BLK_DEV_OPTI621 is not set[/c] means that CONFIG_BLK_DEV_OPTI621 option... is not set. Just modify this line as this:

- cut out " is not set" at the end

- replace it with "=y"

- uncomment the configuration line by cutting out the leading "# " (careful, also cut out the space just after the sharp)

and then this option will be set as soon as you recompile your kernel.

Offline

#7 2011-05-30 07:46:40

gnjurac
Member
Registered: 2011-05-25
Posts: 4

Re: LIVE CD does not recognize HDD

I feel stupid now! This is so easy. Followed mojo's link and when came to make menuconfig I could choose from a list what to enable or disable, where I enabled OPTi interface driver on 2 different places than followed the rest of the guide. I wanted to make an iso image because I compiled the kernel on much faster PC and need cd for old pc booting. So I followed this guide http://www.slitaz.org/en/doc/scratchbook/base-system.html and added some files from slitaz cd to make it slitaz-cooked.iso. Tested on old pc and it works. I was able to install it on HDD as it was visible now.

Thanks for the help!

Goran

Offline

#8 2011-05-30 07:49:59

babaorum
Moderator
Registered: 2011-03-29
Posts: 109

Re: LIVE CD does not recognize HDD

Nice smile

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]