LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-14-2007, 04:10 PM   #1
Entheos
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Rep: Reputation: 0
Slackware 10.2 CD won't mount?!


Hey guys,

After I input this into my boot CD
Code:
Sata.i root=/dev/sda2
After that I log into root I input this
Code:
mount /dev/hda
I can't seem to mount my cd ??? Im trying to copy the whole kernel of the 10.2 to recover some important files but it seems I can't mount my cd . Also my cdrom is
Code:
/dev/hda
Basically meaning I can't do this
Code:
cp /dev/hda/kernels/sata.i/config /usr/src/linux/.config
what should I do? I know what you guys are going to say edit the lilo files but for some strange reason I can't get into lilo, it keeps crashing 0.0

Last edited by Entheos; 02-17-2007 at 06:36 AM.
 
Old 02-14-2007, 04:47 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Perhaps it's already mounted. Else use the whole command to be sure:
Code:
mount -t iso9660 /dev/hda /mnt/cdrom
assuming that the directory /mnt/cdrom exists. If you don't succeed run "dmesg" and look for any errors.

Regards

Last edited by bathory; 02-14-2007 at 04:48 PM.
 
Old 02-14-2007, 05:18 PM   #3
Entheos
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Original Poster
Rep: Reputation: 0
I did what you said Bathory and got /mnt/cdrom doesn't exist

did "dmesg" had some errors

sdb : Read capacity failed
sdb : I/O error : dev 08:10, sector 0
unable to read partition table

Dawm Kernel if only I could write in it but it keeps on failing Imma loose my valuable files :....-(
 
Old 02-14-2007, 08:11 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Mmm one thing i don't get, your partition seems to be at sda, your cd-rom at hda, and in your log messages you get a complain about sdb?

Perhaps you could try booting using the CD's system (instead of setting root to the harddisk), and mount the partition from there to see what you get.

Last edited by gbonvehi; 02-14-2007 at 08:13 PM.
 
Old 02-14-2007, 10:28 PM   #5
Entheos
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gbonvehi
Mmm one thing i don't get, your partition seems to be at sda, your cd-rom at hda, and in your log messages you get a complain about sdb?

Perhaps you could try booting using the CD's system (instead of setting root to the harddisk), and mount the partition from there to see what you get.
So how do I tell linux to copy the kernel from the cd to the the partition? becuase now I am doing the opposite of the commands or do I just go ahead to the same cp /mnt/cdrom/....etc etc

Last edited by Entheos; 02-14-2007 at 10:29 PM.
 
Old 02-15-2007, 03:30 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I don't remember if it's on CD 1 or 2. If it's on CD 2, just boot with 1 and then replace the CD on the tray.
After that, if /mnt/cdrom doesn't exist, create it with:
Code:
mkdir /mnt/cdrom
Create a mount point for your disk too:
Code:
mkdir /mnt/hdd
Then:
Code:
mount /dev/hda /mnt/cdrom
mount /dev/sda1 /mnt/hdd
cp /mnt/cdrom/slackware/kernels/sata.i/config /mnt/hdd/usr/src/linux
You can also chroot into your system instead of setting root when booting with root=/dev/sda2. To do that, after you've mounted your root partition do:
Code:
chroot /mnt/hdd
I haven't tested this since I can't find my 10.2 cds, but they should work.

Last edited by gbonvehi; 02-15-2007 at 03:32 PM.
 
Old 02-17-2007, 06:28 AM   #7
Entheos
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Sorry for not responding I just recently been sick where were we ;

gbonvehi I did what you said but I got this trying to mount /dev/hda
Code:
block device /dev/hda is write-protected mounting read-only
Thus leading to this
Code:
cp /mnt/cdrom/slackware/kernel/sata.i/config: No such file or directory
what should we do

Last edited by Entheos; 02-17-2007 at 06:30 AM.
 
Old 02-17-2007, 07:51 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
CDs are always mounted read-only, so that's not a problem. Are you sure you're using the correct path to the file?
 
Old 02-17-2007, 08:02 AM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Mmm I don't have the CDs right here, but I think kernels/ directory is not inside slackware/. Try browsing the directories until you find the config file. Basic *nix commands cd and ls should be enoguh.
cd - Get's into a directory, like cd /mnt/cdrom. cd .. (two dots) goes back one level.
ls - list files, i guess you understand it
With shift+pgup you'll be able to scroll the console if you need it.
 
Old 02-17-2007, 03:12 PM   #10
Entheos
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Original Poster
Rep: Reputation: 0
thanks guys for your help but to no avail has the kernel went back to its original form
 
Old 02-18-2007, 01:54 AM   #11
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What do you mean?
 
Old 02-18-2007, 08:24 AM   #12
Entheos
LQ Newbie
 
Registered: Jul 2006
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Nylex
What do you mean?
Well for starters I was trying to emulate
Chapter 19 : Slackware Basics ; Building A Kernel

but I can't go in and do Make menuconfig,bzImagemodules,modules_install,etc...
Code:
No such file or directory
and even if I wanted to I still have to go in and edit lilo but for some strange reason it keeps on crashing on me every time I go in and try to edit it with anything, now thinking about it, I wonder if all this crashing would be the result of installing lilo in the MBR?

Last edited by Entheos; 02-18-2007 at 08:34 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How can I mount my camcorder using Slackware b821025 Linux - Hardware 4 03-11-2006 01:22 AM
slackware:partition and mount android6011 Linux - General 3 06-02-2005 07:24 PM
mount iso in slackware 10 kubrickfan799 Linux - Newbie 3 10-21-2004 12:12 PM
cant mount cdroms in slackware Timeturtle Linux - Hardware 2 11-16-2003 09:58 AM
How to mount a CD-Rom in Slackware 8.0 slacker007 Slackware 4 04-25-2002 03:15 PM

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

All times are GMT -5. The time now is 10:41 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