LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 11-28-2007, 05:22 PM   #16
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled

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)
 
Old 11-28-2007, 11:14 PM   #17
zillah
Member
 
Registered: Oct 2004
Posts: 532

Original Poster
Rep: Reputation: 30
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.
 
Old 11-29-2007, 01:23 AM   #18
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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?
 
Old 11-29-2007, 04:16 AM   #19
zillah
Member
 
Registered: Oct 2004
Posts: 532

Original Poster
Rep: Reputation: 30
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.
 
Old 11-29-2007, 07:09 AM   #20
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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
 
Old 11-29-2007, 03:56 PM   #21
zillah
Member
 
Registered: Oct 2004
Posts: 532

Original Poster
Rep: Reputation: 30
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.
 
Old 11-29-2007, 04:19 PM   #22
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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
 
Old 11-30-2007, 06:10 AM   #23
zillah
Member
 
Registered: Oct 2004
Posts: 532

Original Poster
Rep: Reputation: 30
System -->Administration--> Hardware

http://img150.imageshack.us/my.php?i...eenshotoi1.png
 
Old 11-30-2007, 04:20 PM   #24
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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
 
  


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
Solaris Express CE and Grub message with Toshiba laptop zillah Solaris / OpenSolaris 4 11-16-2007 12:25 AM
how to manually do "b -r" during booting in solaris express ?? alred Solaris / OpenSolaris 2 01-21-2007 11:53 AM
Express Solaris 6/06 reinstall grub zillah Solaris / OpenSolaris 2 01-12-2007 10:06 AM
grub suddenly stops booting XP mab_123 Linux - Software 3 03-26-2005 10:08 AM
Uninstalled SuSe; GRUB Stops PC From Booting MisterAle Linux - Software 2 12-23-2004 10:52 PM


All times are GMT -5. The time now is 03:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration