LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-10-2007, 10:51 AM   #1
brianc
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Rep: Reputation: 0
Installing Slackware COMPLETE NEWBIE HERE


Hi everyone. I purchased a piece of recording equipment that has a corrupt file that I need to retrieve via Linux (that's what Alesis tech support told me). They told me to install Slackware on my PC and they have a number of steps to help me recover my file.

With that said, I am attempting an installation on a Windows XP machine. I have no clue what I am doing. I was reading something about "ISO" disks and I downloaded the ISO disks from Torrent. I have 6 folders and the files are called:
slackware-11.0-install-d1.torrent (d2,d3, etc)

What do I do with those files? How do I create ISO cd's with those files? After I get the cd's created, is it as simple as booting to the first cd and letting it do it's thing?

I downloaded the complete Slackware from one of the mirrors and unzipped to the harddrive, created the bootdisk and rootdisks, but after attempting to boot to the floppy, it tells me it cannot boot. So I thought I would try the ISO route.

Are there directions somewhere that I can follow to install Slackware to my Windows XP machine? This is just a one time needed install to recover my file.

Thanks!
Brian
 
Old 01-10-2007, 11:04 AM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
If you only need to use linux once, I wouldn't bother installing it to your hard drive. It'd be much easier to download a liveCD image (an iso file), burn it to a CD and then boot your computer from that. It will, to all intents and purposes, act as a fully functional operating system.

Unless the steps Alesis tech support have given you require a disk on which to install software. What are these steps?

To burn an iso file, if you have nero, choose the option to burn a CD image, navigate to the file, select it and burn it. It's worthwhile verifying the written data just to make sure it burnt correctly.
 
Old 01-10-2007, 11:44 AM   #3
Th3_J3st3R
Member
 
Registered: Mar 2003
Location: Milwaukee
Distribution: Slackware 12.0
Posts: 84

Rep: Reputation: 16
If your not comfortable with using linux. You can create a windowsXP live cd to boot from. check it out at
http://www.nu2.nu/pebuilder/
 
Old 01-10-2007, 12:00 PM   #4
brianc
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Original Poster
Rep: Reputation: 0
How do I get the ISO cd you are referring to?
Here are the steps from Alesis:
1. I lost power while recording on an HD24 before STOP was pressed.
2. I called Alesis and they directed to this HD24 group and
emailed a post about using Linux to recover lost audio.
3. I read most everything but did not comprehend much due to my lack
of experience with Linux.
4. I bought a new hard drive exactly like the one with the corrupt
information.
5. I used the HD24 to format and record blank audio onto the new drive
using the same song name, number of tracks, sample rate and enough
length to accommodate my lost recording.
6. Then I borrowed a pc with Susie Linux and it would never see all
three drives no matter what master/slave/cable select jumper settings
I tried.
7. Then I borrowed an old Emachines pc with 333mhz processor and 64mb
ram running Slackware Linux with no GUI, only command line interface.
It saw all three drives fine using cable select jumper setting.
8. I then ran the dd command using hexdump to view contents of bad
drive. The command I used was this:

dd if= /dev/hdc bs=512 count=1000 | hexdump -C | less

dd is Data dump
if is input file
/dev/hdc tells it to look at hard drive C
bs is block size
count is number of blocks
hexdump tells it to display in hexadecimal format in 16 byte lines
-C says to display any printable characters
less is to display a page at time and be able to scroll forward and
backward
9. I could not figure out where the header ended and audio began.
10. Then I did the same command on the new drive with blank audio and
determined where the header ended. Basically, when the header ended
the code became all zeros because of blank audio. I determined the
audio started at the hex address of 1dff0
11. Then I constructed the copy command as the following

dd if= /dev/hdc bs=256 count=96000000 skip=478 of= /dev/hdd seek=478

dd is Data dump
if is input file
/dev/hdc is hard drive with audio and bad header
bs is block size
count is amount of data ( I estimated 24 gigs)
skip means skip down to 478 and start copying from there
of is output file
/dev/hdd is new drive with blank audio and good header
seek tells it where to start copying from

12 Then I hit enter and saw hard drive activity light. I then left for
the night and returned the next morning to the process being finished.
13. I then did the same dd and hexdump commands saw similar info on
both drives.
14. I then put the new drive into the HD24 and the audio was there
completely.

Most of the time was spent making the computer see all drives at one
time. Once that was done then attempting to figure out the start/stop
points seemed endless until I figured out the hexdump -C command
. It
took a scientific calculator to do the hexadecimal calculations to
determine addesses for skip and seek points.
 
Old 01-10-2007, 12:13 PM   #5
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Wow. That's a pretty complex thing they've suggested. It seems to me that they're suggesting you create a new audio file full of nothing on a new hard drive/partition. Then you use dd (which is essentially a cloning program) to copy the recording you made on your HD24 to the new hard drive/partition, having first identified where the file begins. When dd's finished, you should have a file on the new hard drive/partition which has the recording you made in it, but padded by silence. If I've read that right. That seems like a lot of work to me.

This is possible using a liveCD (you might want to try Slax as you were recommended Slackware, and Slax is based on Slackware) since all the tools they use are fairly standard. However, I'd suggest you head over to the HD24 group on yahoo groups and see if anyone there has any suggestions: http://tech.groups.yahoo.com/group/hd24/

Slax is available from: http://www.slax.org/download.php
 
Old 01-10-2007, 02:59 PM   #6
Furlinastis
Member
 
Registered: Dec 2004
Location: Ball of Confusion
Distribution: Artix,Arch,Slackware,Bluewhite64
Posts: 261

Rep: Reputation: 40
You could also use get data back ... www.runtime.org I've always used that anytime I've had data corruption. A lot easier than using DD as well... though it's not exactly.. cheap.
 
Old 01-10-2007, 08:38 PM   #7
brianc
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Will GetDataBack work for this? I will buy it if it does! Which product do I need to purchase?

Thanks!
Brian
 
Old 01-10-2007, 09:46 PM   #8
brianc
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Th3_J3st3R
If your not comfortable with using linux. You can create a windowsXP live cd to boot from. check it out at
http://www.nu2.nu/pebuilder/
Not sure I am following you. Why would I boot to windowsXP live cd?

Thanks!
Brian
 
Old 01-10-2007, 09:48 PM   #9
brianc
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pwc101
If you only need to use linux once, I wouldn't bother installing it to your hard drive. It'd be much easier to download a liveCD image (an iso file), burn it to a CD and then boot your computer from that. It will, to all intents and purposes, act as a fully functional operating system.

Unless the steps Alesis tech support have given you require a disk on which to install software. What are these steps?

To burn an iso file, if you have nero, choose the option to burn a CD image, navigate to the file, select it and burn it. It's worthwhile verifying the written data just to make sure it burnt correctly.
Where do I get the ISO file (liveCD) you are referring to?

Thanks,
Brian
 
Old 01-10-2007, 11:19 PM   #10
darylicious
LQ Newbie
 
Registered: Jan 2007
Location: Cebu City, Philippines
Distribution: Slackware 11
Posts: 15

Rep: Reputation: 0
If you need a bootable OS, I would recommend KNOPPIX since it's pretty straight forward. You can boot from it then it takes care of itself.
 
Old 01-11-2007, 04:40 AM   #11
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by brianc
Where do I get the ISO file (liveCD) you are referring to?

Thanks,
Brian
See Below:
Quote:
Originally Posted by pwc101
This is possible using a liveCD (you might want to try Slax as you were recommended Slackware, and Slax is based on Slackware)
Quote:
Originally Posted by pwc101
Slax is available from: http://www.slax.org/download.php
edit: I'd go with darylicious's suggestion and try Knoppix: http://iso.linuxquestions.org/distro.php?distro=5

Last edited by pwc101; 01-11-2007 at 04:43 AM.
 
Old 01-11-2007, 07:55 AM   #12
brianc
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pwc101
See Below:
edit: I'd go with darylicious's suggestion and try Knoppix: http://iso.linuxquestions.org/distro.php?distro=5

Ok, I will try Knoppix. Thanks for your help!!
 
Old 01-11-2007, 08:08 AM   #13
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
You're welcome
 
Old 01-11-2007, 08:00 PM   #14
brianc
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Original Poster
Rep: Reputation: 0
Well, I got Knoppix running and it recognizes both drives (hda and hdb). When I execute dd if=/dev/hdc bs=512 count=1000 | hexdump -C | less on both drives, the output is exactly the same. I setup a new drive on the Masterlink and created an empty audio file as the steps below suggested. I don't know Linux so perhaps I am reading the drives wrong?

Any suggestions out there??

Thanks!!
Brian
 
Old 01-12-2007, 03:56 AM   #15
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by brianc
Well, I got Knoppix running and it recognizes both drives (hda and hdb). When I execute dd if=/dev/hdc bs=512 count=1000 | hexdump -C | less on both drives, the output is exactly the same. I setup a new drive on the Masterlink and created an empty audio file as the steps below suggested. I don't know Linux so perhaps I am reading the drives wrong?

Any suggestions out there??

Thanks!!
Brian
Your two hard drives are /dev/hda and /dev/hdb. The dd command you're running is using /dev/hdc as an input, which might be your CD/DVD drive (if you have one). Depending on which drive you are trying to read from (/dev/hdb?), adjust the dd command accordingly.
 
  


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
Complete newbie runs into problems during the ./configure stage of installing a game Robin6 Linux - Newbie 7 03-26-2006 01:40 AM
Installing iptables - Slackware 10 / newbie fabio_listas Slackware 9 08-03-2004 03:20 AM
A Complete newbie to linux and having probs installing modem driver :'( XDR Linux - Hardware 2 09-25-2003 04:22 PM
Installing Slackware... how? (complete newbie) zsejk Slackware 12 04-19-2003 12:12 AM
Complete newbie dat_chibi Linux - Newbie 5 12-01-2002 12:50 PM

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

All times are GMT -5. The time now is 01:26 AM.

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