Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
11-28-2007, 05:22 PM
|
#16
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
you ask some basis questions so forgive me for being more explicit.
your first post has contents of your linux menu.lst
your line (#hiddenmenu) means that when your bios has done it stuff either behind a splash screen or not.....the bios then jumps to the mbr and then grub's booting files work....and grub menu appears.
Your menu shows you have a grub splashimage that is supposed to work.
(splashimage =(hd0,4)/grub/splash.xpm.gz)
your menu time (timeout=15) shows you have plenty of time to press C for commands.
I do not use your distro....but at this point....your press C for commands.....a good distro should have text somewhere on the screen to say that is possible....
2) I can not reconcile your earlier post that you quote press c....and your response is the output is exactly the same.....maybe you were confused by my aussie speak....so lets move on.
3) It is very important we are talking about the mbr grub screen that will switch to the grub command line. Booting up linux and then opening a shell to type su and grub is not what I want you to do ok?
4) so at this grub menu immediately after bios
Press C for commands
(it takes you to grub command line)
(Press C means find the C letter on your keyboard and press it once.Sorry if that is patronising but I am not sure what your question means.)
root (hd0, (and press TAB key to autocomplete the options that grub finds.
(it may be the same result you have already posted from within your linux) (but then you should have an error trying to make a new swap mounted at /dev/sda2)
|
|
|
|
11-28-2007, 11:14 PM
|
#17
|
|
Member
Registered: Oct 2004
Posts: 532
Original Poster
Rep:
|
Thanks aus9 for your effort.
Quote:
|
mbr grub screen that will switch to the grub command line.
|
When you said mbr, I thought mistakenly you was asking me to press a command called : " mbr " , which is now I understand you was not asking me that.
Quote:
4) so at this grub menu immediately after bios
Press C for commands (it takes you to grub command line)
|
I had already done this.
Quote:
|
I can not reconcile your earlier post that you quote press c....and your response is the output is exactly the same.....maybe you were confused by my aussie speak....so lets move on.
|
It is same.
Quote:
|
if that is patronising but I am not sure what your question means.)
|
I hope now, it is clear.
|
|
|
|
11-29-2007, 01:23 AM
|
#18
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
alright so do you have any errors for trying to mount /dev/sda3 as a swap when it is supposed to be a solaris? (in the logs for linux /var/log/syslog or messages or dmesg?
|
|
|
|
11-29-2007, 04:16 AM
|
#19
|
|
Member
Registered: Oct 2004
Posts: 532
Original Poster
Rep:
|
Quote:
|
alright so do you have any errors for trying to mount /dev/sda3 as a swap when it is supposed to be a solaris?
|
Code:
[root@localhost ~]# swapon /dev/sda3
swapon: /dev/sda3: Device or resource busy
Code:
[root@localhost ~]# dmesg | grep swap
Adding 15735656k swap on /dev/sda3. Priority:-1 extents:1 across:15735656k
Adding 1020088k swap on /dev/sda8. Priority:-2 extents:1 across:1020088k
Code:
[root@localhost log]# cat messages | grep swap
Nov 29 21:01:45 localhost kernel: Adding 15735656k swap on /dev/sda3. Priority:-1 extents:1 across:15735656k
Nov 29 21:01:45 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-2 extents:1 across:1020088k
Last edited by zillah; 11-29-2007 at 04:23 AM.
|
|
|
|
11-29-2007, 07:09 AM
|
#20
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
try with root powers
swapoff /dev/sda3 then
swapon /dev/sda3
if no error then its a swap parition and no longer a solaris.
if swapon has worked...repeating the swapon gives your error message.
swapon /dev/sda3
swapon: /dev/sda3: Device or resource busy
This is the reason I believe you and I can not get in......somehow you have made a swap out of a solaris partition.
pls confirm
|
|
|
|
11-29-2007, 03:56 PM
|
#21
|
|
Member
Registered: Oct 2004
Posts: 532
Original Poster
Rep:
|
I logged in as root and I typed in:
Code:
[root@localhost ~]# swapoff /dev/sda3
[root@localhost ~]# swapon /dev/sda3
Then I used the commands below
Code:
[root@localhost ~]# dmesg | grep swap
Adding 15735656k swap on /dev/sda3. Priority:-1 extents:1 across:15735656k
Adding 1020088k swap on /dev/sda8. Priority:-2 extents:1 across:1020088k
Adding 15735656k swap on /dev/sda3. Priority:-3 extents:1 across:15735656k
Code:
[root@localhost ~]# cat /var/log/messages | grep swap
Nov 26 10:27:09 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-1 extents:1 across:1020088k
Nov 26 18:40:45 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-1 extents:1 across:1020088k
Nov 26 18:45:02 localhost kernel: Adding 15735656k swap on /dev/sda3. Priority:-1 extents:1 across:15735656k
Nov 26 18:45:02 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-2 extents:1 across:1020088k
Nov 26 19:14:12 localhost kernel: Adding 15735656k swap on /dev/sda3. Priority:-1 extents:1 across:15735656k
Nov 26 19:14:12 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-2 extents:1 across:1020088k
Nov 26 21:41:36 localhost kernel: Adding 15735656k swap on /dev/sda3. Priority:-1 extents:1 across:15735656k
Nov 26 21:41:36 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-2 extents:1 across:1020088k
Nov 26 21:49:31 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-1 extents:1 across:1020088k
Nov 27 18:50:08 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-1 extents:1 across:1020088k
Nov 27 19:02:23 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-1 extents:1 across:1020088k
Nov 29 21:01:45 localhost kernel: Adding 15735656k swap on /dev/sda3. Priority:-1 extents:1 across:15735656k
Nov 29 21:01:45 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-2 extents:1 across:1020088k
Nov 30 08:50:39 localhost kernel: Adding 15735656k swap on /dev/sda3. Priority:-1 extents:1 across:15735656k
Nov 30 08:50:39 localhost kernel: Adding 1020088k swap on /dev/sda8. Priority:-2 extents:1 across:1020088k
Nov 30 08:51:43 localhost kernel: Adding 15735656k swap on /dev/sda3. Priority:-3 extents:1 across:15735656k
[root@localhost ~]#
Last edited by zillah; 11-29-2007 at 03:58 PM.
|
|
|
|
11-29-2007, 04:19 PM
|
#22
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
well even tho you did not do one more swapon which is what I asked.....I am now telling you that swapon worked therefore sda3 is now a swap.
time for a rebuild.
2) edit your fstab b4 rebuild to delete the entire line relating to sda3.
good luck
|
|
|
|
11-30-2007, 06:10 AM
|
#23
|
|
Member
Registered: Oct 2004
Posts: 532
Original Poster
Rep:
|
|
|
|
|
11-30-2007, 04:20 PM
|
#24
|
|
Senior Member
Registered: Oct 2003
Location: Australia
Posts: 4,424
Rep: 
|
thanks for confirming.
when you get rid of linux or get rid of ms....re-design your partitions so that you have a spare partition to use as a backup.
I use partimage as a backup but if you stay with ms...acronis is a fine replacement but costs money heh heh
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:58 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|