LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   FC7 grub suddenly stops booting Solaris Express CE (https://www.linuxquestions.org/questions/linux-software-2/fc7-grub-suddenly-stops-booting-solaris-express-ce-602130/)

aus9 11-28-2007 05:22 PM

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)

zillah 11-28-2007 11:14 PM

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.

aus9 11-29-2007 01:23 AM

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?

zillah 11-29-2007 04:16 AM

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


aus9 11-29-2007 07:09 AM

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

zillah 11-29-2007 03:56 PM

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 ~]#


aus9 11-29-2007 04:19 PM

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

zillah 11-30-2007 06:10 AM

System -->Administration--> Hardware

http://img150.imageshack.us/my.php?i...eenshotoi1.png

aus9 11-30-2007 04:20 PM

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


All times are GMT -5. The time now is 08:52 PM.