LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2009, 02:56 AM   #1
hungrypumpkin
LQ Newbie
 
Registered: Sep 2009
Location: Victoria, Australia
Distribution: Slackware 12.2
Posts: 2

Rep: Reputation: 0
Slackware 12.2 won't mount


So, initially my partitioning table was:
/dev/sda1 - ext3
/dev/sda2 - swap
/dev/sda3 - ext3 (slackware)
/dev/sda4 - swap

Then I deleted the swap on /dev/sda2 and it changed the table to:
/dev/sda1 - ext3
/dev/sda2 - ext3 (slackware)
/dev/sda3 - swap

My boot manager (GRUB) lays within /dev/sda1 and I changed menu.lst to boot the new partition and it does so perfectly. While slackware's booting it will come up with a mount error as it's trying to mount /dev/sda3 which is now a swap, what do I modify to get it to mount /dev/sda2 instead?
 
Old 09-21-2009, 03:05 AM   #2
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
did you change your slackware entry in /boot/grub/menu.lst??
 
Old 09-21-2009, 03:13 AM   #3
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by hungrypumpkin View Post
So, initially my partitioning table was:
/dev/sda1 - ext3
/dev/sda2 - swap
/dev/sda3 - ext3 (slackware)
/dev/sda4 - swap

Then I deleted the swap on /dev/sda2 and it changed the table to:
/dev/sda1 - ext3
/dev/sda2 - ext3 (slackware)
/dev/sda3 - swap

My boot manager (GRUB) lays within /dev/sda1 and I changed menu.lst to boot the new partition and it does so perfectly. While slackware's booting it will come up with a mount error as it's trying to mount /dev/sda3 which is now a swap, what do I modify to get it to mount /dev/sda2 instead?
2 things you need to check after your changes:
first) in /boot/grub/menu.lst
all entries like root(hd0,2) should be changed to root(hd0,1)

second) in your /etc/fstab if you had entries for
/dev/sda3
you should change to /dev/sda2
 
  


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
Slackware 10.2 CD won't mount?! Entheos Slackware 11 02-18-2007 08:24 AM
slackware:partition and mount android6011 Linux - General 3 06-02-2005 07:24 PM
cant mount cdroms in slackware Timeturtle Linux - Hardware 2 11-16-2003 09:58 AM
Slackware 9 CD-ROM mount benchcomptons Linux - Software 0 08-06-2003 09:24 PM
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 - Newbie

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