Posts tagged Ubuntu
How to replace Grub with LILO on Ubuntu 7.04?
Aug 5th
Greetings ladies and gents. I have recently embarked on a series of alternative to Ghost testing. I finally ended up using an open source Ghost-like program called PING. Anyway, when testing out my newly created image using PING, I found that GRUB got corrupted after the re-image. I had to fix my corrupt GRUB boot loader using these steps. After reading online I found that imaging, even using commercial applications like Symantec Ghost will corrupt GRUB.
Well, that got me thinking, would things change if instead of using GRUB as my boot loader, perhaps I would use LILO instead? Now here is where I am stuck. I want to replace GRUB with LILO on my Ubuntu 7.04 system, but each time I try I end up with a corrupted MBR, and I have to fix GRUB again to get my system to boot. When I try to boot all I get is a screen that says MBR FA:
Does anyone know of a sure fire way to replace GRUB with LILO on Ubuntu 7.04?
Let’s get some comments going up in this joint!!
-El Di Pablo
Solution also by El Di Pablo.
Like some things I write about, I couldn’t find a definitive solution for changing from GRUB to LILO in the latest release of Ubuntu (Feisty at the time of this writing). Well, I don’t just take things lying down. I found a solution and I will share it with you:
1) Install LILO using apt-get (sudo apt-get install lilo). Follow the prompts until it is finished installing.
2) Edit /etc/fstab (sudo gedit /etc/fstab). Find the line either containing your /boot partition, or your / partition (Whichever one Grub is set to boot off of). Mine is sda1. Comment out the UUID line of the boot partition ONLY. Change it to the ‘Old school’ format of /dev/sda1, then paste the last parts of the commented section after the ‘old school’ formatting. It should now look something like this:# /etc/fstab: static file system information.## proc /proc proc defaults 0 0/dev/sda1 / ext3 defaults,errors=remount-ro 0 1#UUID=fded2ced-53ea-4dfa-bdb3-e4fd0b7a4fd3 # /dev/sda2UUID=948b4626-2f62-40c0-bc92-6ee8b69af42e /media/hda2 reiserfs defaults 0 2# /dev/sda3UUID=e0430d86-1ae0-4563-9b12-f8b6988e9df2 /media/hda3 reiserfs defaults 0 2# /dev/sda5UUID=8af9d362-4535-49e4-a188-32bd74860d87 none swap sw 0 0/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
3) Once that is edited, and saved, reboot your computer and boot up using the Ubuntu Live CD.
4) Once booted up to the live CD, open a terminal. First we need to make sure that /boot or / (Whichever you have set up) is flagged as the active boot partition. To go this, in the terminal type sudo parted and hit enter. This will open the parted shell. In the shell, type print to display your current partitions and their settings. Find the number of the partition you want LILO to boot from (Mine was 1). Type set 1 boot on then enter. Then type quit to exit the parted shell.(parted) > set 2 boot on(parted) > quit
5) Now we chroot into the ubuntu install, and configure LILO. Type the following, line by line:ubuntu@ubuntu:~$ sudo mkdir /mnt/ubuntuubuntu@ubuntu:~$ sudo mount /dev/hda7 /mnt/ubuntu/ubuntu@ubuntu:~$ sudo mount -t proc none /mnt/ubuntu/procubuntu@ubuntu:~$ sudo mount -o bind /dev/ /mnt/ubuntu/devubuntu@ubuntu:~$ sudo chroot /mnt/ubuntu /bin/bash
6) Now we can run liloconfig (sudo liloconfig). When prompted, answer yes to everything (i.e. install boot block to /dev/sda1, and MBR to /dev/sda etc).
7) Now we run lilo -b /dev/sda1 to make our changes stick.
8) Now we unmount everything, and reboot:ubuntu@ubuntu:~$ sudo umount /mnt/ubuntu/procubuntu@ubuntu:~$ sudo umount /mnt/ubuntu/devubuntu@ubuntu:~$ sudo umount /mnt/ubuntuubuntu@ubuntu:~$ sudo reboot
9) When you boot back up, you should have a nice new LILO boot splash staring you in the face!I found that trying to do this on my running Ubuntu workstation would cause a corruption in the MBR, it was only when I decided to try configuring LILO using the live CD so the boot partition wasn’t active that I had success moving to LILO.If you know an easier method for doing this, please hit me up in the comments!
NOTE: A big shout out to bigpond.net.au where I found a lot of my information for the correct commands to use.
FREE Linux Based Disk Imaging (Ghosting) at its Finest!
Aug 4th
I am in love!
That is right, I am not ashamed of it. I am in love with PING (PartImage is Not Ghost). I have been searching for quite a while on a free alternative to Ghost Cast for my personal home network. Well I found it.
I was using DriveImage XML, but PING can do the same job, better and also support Linux!
Not only that, but it is very versatile in that there are many ways you can use it. You can use their boot CD (Download the ISO here), and create/restore images from a network file share, or directly to a disk. They also give you a tutorial on setting up a PXE boot server (On you home Windows XP machine if you want!) and create/store images to the same file share but without the need for boot disks.You can find the full tutorial on using PING here.
Written By El Di Pablo From [BauerPower]
FREE Linux Based Disk Imaging (Ghosting) at its Finest!
Aug 4th
I am in love!
That is right, I am not ashamed of it. I am in love with PING (PartImage is Not Ghost). I have been searching for quite a while on a free alternative to Ghost Cast for my personal home network. Well I found it.
I was using DriveImage XML, but PING can do the same job, better and also support Linux!
Not only that, but it is very versatile in that there are many ways you can use it. You can use their boot CD (Download the ISO here), and create/restore images from a network file share, or directly to a disk. They also give you a tutorial on setting up a PXE boot server (On you home Windows XP machine if you want!) and create/store images to the same file share but without the need for boot disks.You can find the full tutorial on using PING here.
Written By El Di Pablo From [BauerPower]
Question: Do I need to have AntiVirus Software running on my Linux Machine?
Jul 31st
And now I am going to tell you why. There are about 100 know Linux viruses out there and they are not be turning up new ones every day like windows viruses BUT they do exist. And not being protected is just stupid. No offense. Actually you can take offense I don’t realy care. I personally back up every OS incrementally and run some sort of AV software with heuristics. This should give you some protection from Zero day threats.
Ok ok simmer down. Now onto WHY I think it is very necessary to be protected. I have a question for you:
Do you have insurance? You know medical dental or what not?
Of course you do you woud be crazy not to becuase WHAT IF something happens. This should be your same attitude to computer security. Do you have a lock on your home? How about a security alarm?
Are you following me here? As an Admin I always feel it is better safe then sorry. And especially if it is all because you were SURE that no one could hack into YOUR machine. Now who better to have a try at it than a Linux Guru? It won’t be long before the spammers and virus writers get tired of the Windows platform and move on… After all isn’t Mac OSX built on Linux?
Here is an excerpt from DesktopLinux.com:
Security, and freedom from viruses, has been one of the key selling points for
moving to Linux in the home and for the enterprise. How is Linux at risk from
viruses today? by Keith Peer
Currently there are under 100 native Linux viruses known but in many organizations the fact that a Linux viruses exists is enough reason to install and use Linux antivirus protection on Linux desktops and servers.
Additionaly users of StarOffice and OpenOffice.org have the ability to
open and view Microsoft Office documents that may contain viruses. These viruses
may not infect the Linux computer but the user can easily attach and send these
infected documents unknowingly to someone else and that is a serious problem.As
system administrators move to Linux files servers they have a real problem to
deal with since the Linux file server can store Windows-based viruses.Windows-based viruses can write to a Linux/Samba network share as easily as they can on a Microsoft Windows based network. System administrators must protect the Linux server from storing these viruses. The only way is through active
antivirus defense on the Linux server itself. Our Vexira Antivirus for Linux, as
an example, detects not only Linux-based viruses but also Windows and DOS-based
as well, I think the current number of malicious or potentially malicious
applications (viruses, trojans, worms, etc…) we detect is above 74,000
now.Still not sure continue reading this article for more Fan boy dream killing information… _TheAdmiN_
Microsoft Onenote for Linux?
Jul 23rd
One of the most important applications I had to find a replacement for when switching from Windows to Linux (Ubuntu) was Onenote, its so darn handy, even though a lot of people still think that if you don’t have a tablet its no good…WRONG! For note taking its wonderful. I use it in meetings, interviews, lectures, researching, pretty much everything.
I checked out a lot of applications, on Freshmeat, the download.com of the Open Source community, they just didn’t
cut it, after a good Google search I happened upon Basket a clone
of Microsoft Onenote.
Since a picture can paint a thousand words…
As you can see by this screen shot, your page can be a multitude of mixed formats and functionality as this screen shot illustrates, images, web links, app links, embedded files, to-do lists, etc., every element of the page can be moved around, resized according to your preference. Not bad for a free app so far huh?
With the amount of information you can put into Basket it could easly get chaotic. Basket allows your pages of content to be grouped into “baskets”, which really is their term for a group, so each basket (Group) can also have child baskets attached to it, all hierarchal, which is great for people who manage to get thinks cluttered up real fast.. :)
Each element of content can be assigned tags also, like To-do, or Priority 1!, all customizable. For people like myself its a great way
of making sure I get the important stuff done first and work down
from that point, below is a shot of the tag assignment window.
Pretty neat stuff! You can also backup and restore your whole basket structure, password protect baskets, import CSV files or any other custom form of separation, also integrate with Kontact, the KDE PIM system.
So far I have being using Basket for a few months now with no problems at all, even a seasoned Onenote user who borrowed my laptop didn’t have trouble using it, apparently he said it drew a lot
of parallels with Onenote so it was quite natural for him to use.
This sort of application quality is the direction developers
need to head in if they really want to make Linux a solid viable choice for businesses. Basket is definitely business class.
Thanks to Karl for allowing me to be a guest blogger here at Asktheadmin.
Psymon101 from sigmundvoid.com
Question: How can I install Skype on Ubuntu – if its possible?
Jul 16th
Little Lisa writes in from chicago that her boyfriend has been trying without any success to install Skype on her Ubuntu instalation. Can we help her out? I think we can! I just hope we dont imasculate her man when he comes home to see she has done it with out his help!
After some Google Magic here is your answer Lisa – Let us know how it goes!
How to install Skype on Ubuntu
Posted by mypapit on 23 Jun
2007 in GNU/Linux, Internet Stuff, Ubuntu/DebianSkype is perhaps the most popular client to make
calls from your computer to any phone lines in the world. With SkypeIn subscription, you can
even get an international phone number for everybody to call you, a completely
neat way for your friend in overseas to call you with cheap rates. Although
Skype is a proprietary software which uses a non-open protocol, some people
would find it useful as it enables them to make international call with cheaper
rate via SkypeOut.Installing Skype on Ubuntu (or Debian)This how to will show you how to
install a Skype client in Ubuntu & Debian base operating system.
First
of all you need to start up Synaptic Package manager. Go to System->Synaptic
Administration->Synaptic Package Manager,
From Synaptic, go to
Settings->Repositories. Click on Third Party Software Tab. Click Add, and put
on this line : deb http://download.skype.com/linux/repos/debian/ stable non-free
Click Add Sources.
Click Close, and Click ‘Reload’ at the top of
Synaptic. Now you can search for Skype, and install it from Synaptic.Hope that will help you to install Skype on your Linux operating system.
Alternatively, If you’re a fan of open source software and open standards, then
you might want to look into Ekiga (formerly
GnomeMeeting), cheerio!






