LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-09-2013, 07:53 AM   #1
pls_help_URGENT
Member
 
Registered: Aug 2012
Posts: 42

Rep: Reputation: Disabled
Why do os-prober and cat /etc/issue result in different outputs?


sudo os-prober results in:
Code:
No volume groups found
/dev/sda2:openSUSE 11.3 (x86_64):SuSE:linux
cat /etc/issue results in:
Code:
Welcome to openSUSE 11.4 "Celadon" - Kernel \r (\l).
What's going on here?
 
Old 04-10-2013, 12:53 AM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
What about
Quote:
sudo fdisk -l

cat /etc/fstab
 
Old 04-10-2013, 07:22 AM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
http://joeyh.name/code/os-prober/

from that link about all os-prober cares about is the general type of OS and how it boots.

cat /etc/issue will in most cases give you are more accurate result.
 
Old 04-10-2013, 12:06 PM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,697

Rep: Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261
/etc/issue is for any message the site deems necessary. The original use was to inform users of various issues (such as a security message, usage fine print...). Only by default does it tend to have a release message.

Many government sites have a "this is a government system. Use of this system indicates consent to monitoring..." type of warning, and this warning is required to be presented to user connections before the user actually logs in. This is also why services like ssh have a banner option.. the banner file is frequently the /etc/issue message. This is also the reason the "agetty" terminal initialization will output the contents of /etc/issue before the login prompt.

Most have release information in /etc/release, or similiarly named /etc/fedora-release, or /etc/system-release...

Last edited by jpollard; 04-10-2013 at 12:12 PM.
 
Old 04-10-2013, 06:41 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I believe that I answered this question in the OP's original post, not saying that I'm 100% sure
http://www.linuxquestions.org/questi...st-4175457487/
 
Old 04-11-2013, 12:40 AM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,093

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
i am guessing that a upgrade from 11.3 to the last 11.4 was done but not the clean up afterwards

Also be aware ( if you are not already ) than none of the 11.? are supported any longer
11.3 went End Of Life on "January 20th 2012 "
11.4 went End Of Life on "November 5th 2012"

onensuse is currently only supporting
12.1 ( but it goes EOL in 35 days )
12.2
and 12.3

now for 11.4 there is the community "Evergreen" that has some backports to 11.4
http://en.opensuse.org/Evergreen
 
Old 04-11-2013, 05:54 AM   #7
pls_help_URGENT
Member
 
Registered: Aug 2012
Posts: 42

Original Poster
Rep: Reputation: Disabled
Thankful to all.

Quote:
Originally Posted by EDDY1 View Post
What about
sudo fdisk -l

Code:
Disk /dev/sda: 250.1 GB, 250059350016 bytes                                                                                   
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors                                                         
Units = sectors of 1 * 512 = 512 bytes                                                                                        
Sector size (logical/physical): 512 bytes / 512 bytes                                                                         
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                             
Disk identifier: 0x12bb12ba                                                                                                   
                                                                                                                              
   Device Boot      Start         End      Blocks   Id  System                                                                
/dev/sda1            2048     8386559     4192256   82  Linux swap / Solaris                                                  
/dev/sda2         8386560   134221823    62917632   83  Linux                                                                 
/dev/sda4   *   134223075   488392064   177084495    f  W95 Ext'd (LBA)                                                       
/dev/sda5       134223138   176168789    20972826   83  Linux                                                                 
/dev/sda6       176168853   488392064   156111606   83  Linux
cat /etc/fstab

Code:
/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part1 swap                 swap       defaults              0 0                      
/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part5 /                    ext4       acl,user_xattr        1 1                      
/dev/disk/by-id/ata-ST3250310AS_6RYNQEXY-part6 /home                ext3       defaults              1 2                      
proc                 /proc                proc       defaults              0 0                                                
sysfs                /sys                 sysfs      noauto                0 0                                                
debugfs              /sys/kernel/debug    debugfs    noauto                0 0                                                
usbfs                /proc/bus/usb        usbfs      noauto                0 0                                                
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

Quote:
Originally Posted by John VV View Post
i am guessing that a upgrade from 11.3 to the last 11.4 was done but not the clean up afterwards
I won't say an "upgrade" was done.
But, I did indeed preserve the home directory and then installed (through DVD) 11.4 on the remaining disk. Previously it did indeed have 11.3.

EDIT

AHA, I remember now that previously I had compiled (with changes) once the kernel (do not remember which version) and tried to boot from it. Now it does show up the boot menu at startup.

Can that be a reason? Whatever, os-prober should show "all" the OSs present!

Last edited by pls_help_URGENT; 04-11-2013 at 06:02 AM.
 
Old 04-11-2013, 12:09 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,093

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Quote:
But, I did indeed preserve the home directory and then installed (through DVD) 11.4 on the remaining disk. Previously it did indeed have 11.3.
that would cause some problems if you reused the 11.3 config files in the " dot" folders in 11.4

the versions of software do not match

I would also expect there to be other problems other than the 11.3 / 11.4 mismatch

the data in ~/Documents,~/Music,~/Photos,~/public , and so on is normal
but not the ~/.kde ,~/.ked4, ~/.config ,... and so on

Did you install the "Evergreen" repo ?
if not OpenSUSE 11.4 has been unsupported for 6 months now

even with "evergreen" it is not fully updated .
 
1 members found this post helpful.
Old 04-12-2013, 07:56 AM   #9
pls_help_URGENT
Member
 
Registered: Aug 2012
Posts: 42

Original Poster
Rep: Reputation: Disabled
So, what would be the way to prevent such overlapping problems and yet preserve the home directory?

No, I haven't used any Evergreen repo. Didn't even know about its existence.

Thanks for replying.
 
Old 04-13-2013, 06:53 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,093

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
in 11.4
upgrade to a current and supported version of opensuse " OpenbSUSE 12.2 or 12.3 "
( if possible unless you NEED 11.4 for legacy programs that are not supported in 12.1 or 12.2 )


only save the ./mozilla/????? ( and ./fonts if you installed custom fonts in there )
though you might have to rename the "firefox/default.??????? to to the new name to use the old set up

and the not the rest of "dot" folders

do not try to reuse ./kde4 ,./config ,./dbus , ./gconf , and so on

save the ~/bin, ~/Documents ~/Downloads , ~/music ,~/public,~/videos and so on

if you customized ".bashrc" and ".profile" save a renamed back-up copy and manually edit the new versions with the settings you put into the old text files

Last edited by John VV; 04-13-2013 at 06:55 PM.
 
Old 04-14-2013, 04:41 AM   #11
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
only save the ./mozilla/????? ( and ./fonts if you installed custom fonts in there )
though you might have to rename the "firefox/default.??????? to to the new name to use the old set up
I believe I just had to replace my bookmarks folder
 
  


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
cat /dev/tty issue m1organb Linux - Newbie 1 10-03-2011 08:20 PM
DVD+RW issue, as a result of linux? jraclarke Linux - Newbie 4 01-17-2007 09:55 AM
select query thru php outputs no result suchi_sood Programming 1 04-11-2006 10:21 AM
HD Prober? Is there one? robhargreaves Linux - Hardware 5 01-16-2004 10:31 AM
ODD! Cygwin - cat tr outputs email message from ealier in the day?!?!?!?! chingasman Linux - General 0 02-27-2003 05:25 PM


All times are GMT -5. The time now is 11:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration