Clearing screen after selecting windows from grub?

Michael D. Setzer II mikes at kuentos.guam.net
Thu Feb 13 13:43:58 UTC 2014


I just got 20 new machines in my classroom to replace the 8 year old 
machines, and added the Fedora 20 to the Windows 7 that the machines 
came with. I was able to figure how to the old graphic from previous versions 
to show up instead of the black screen with text only, and they is no issue 
with any kernel or non-windows options, but when selecting the windows 7 
boot option, the screen seems to show multiple copies of the original image 
of the verne.png file but not correctly set. It just sits there for some time, but 
then the windows does finally come up. Is there an option to have it clear the 
screen when the option is picked?

Thanks.

Another issue that I have run into is that I setup one machine, and then 
imaged them to the other machines. The the nic commands would not work 
because the hardcoded mac wasn't matching, so I had create a script to 
automatically modify the file in these 20 machines, but have also worked to 
get the script to work with other machines with various nics.

This script works, but doesn't automatically change the file since I want to 
make sure that it is correct before changing. I recall on previous versions that 
you could tell it not to link the mac to the nic, so it was no issue with imaging 
machines. Not a big deal, but found I couldn't use ifup or other commands 
since it would give errors that the mac wasn't matching.

cd /etc/sysconfig/network-scripts
nic=`ls  ifcfg* | grep -v \~ | grep -v lo | grep -v org | grep -v new`
nicname=`echo $nic | cut -b 7-12`
HW=`ifconfig $nicname | grep ether | cut -b 15-31 | tr [:lower:] [:upper:]`
clear
echo NIC $nic NICNAME $nicname HW $HW
sed -e "s/HWADDR=.*/HWADDR=\"$HW\"/g" $nic >$nic.new2
cat $nic | grep -v HWADDR >$nic.new
echo HWADDR=\"$HW\" >>$nic.new

Again Thanks.

+----------------------------------------------------------+
  Michael D. Setzer II -  Computer Science Instructor      
  Guam Community College  Computer Center                  
  mailto:mikes at kuentos.guam.net                            
  mailto:msetzerii at gmail.com
  http://www.guam.net/home/mikes
  Guam - Where America's Day Begins                        
  G4L Disk Imaging Project maintainer 
  http://sourceforge.net/projects/g4l/
+----------------------------------------------------------+

http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned:  19,471
Processing time:  32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)

BOINC at HOME CREDITS
ROSETTA     11217625.899429   |   SETI        19279201.161505
ABC         16613838.513356   |   EINSTEIN    17148625.741651



More information about the users mailing list