Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to install LUBUNTU .

Status
Not open for further replies.

deeplearns

Member level 4
Joined
May 19, 2011
Messages
75
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,939
Hi i have installed other versions of ubuntu ..but they seem to slow down my system a lot ...and i tried installing them from windows environmnet thourgh wubi .

I came across lubuntu which is said to be light version , hoping that it will work fine with my old computer ..i tried to install it through wubi ..but on restart i see Grub >> screen ..

How can i get into ubuntu ..on retsrta i can see the ubuntu and windows xp ...and can select ubuntu ..but after that i see the grub screen ..
I have tried to find the HDD partitiion through help commnads ..but but when i tried to load them i get no kernel found .
I have kept ubuntu in my E: drive and i have 5 drive partition in all . i have tried to load all the partititon on trial and error basis . but no sucess yet .
Please help
 

If you use both Windows and Ubuntu on the same machine, then I suggest you use a Virtual Box (Oracle or VMWare) and install Ubuntu as guest OS on your native Windows. This works very well and these two perform as two independent operating systems. Also the "Seamless Mode" gives you the flexibility of operating two different OS at same time.
 
This happens because you're loading the windows partition first (windows bootloader), which than calls the GRUB. This is because the boot sector is calling windows partition.

If i understood correctly, you want to use GRUB as your default boot loader.
You can boot into linux, and install boot sector that will load GRUB first.
Reinstall Ubuntu GRUB Bootloader

Before you do this, backup your boot sector.
I keep my boot sector backup on boot partition.
sudo mount /boot
sudo dd if=/dev/sda of=/boot/boot.mbr bs=512 count=1
sudo unmount /boot

To restore boot sector, boot into linux (or LiveCD) and
sudo dd if=/boot/boot.mbr of=/dev/sda bs=512 count=1

You'll have to add windows to your boot list in GRUB (menu.lst file), see how in the same link above.
 
Before you do this, backup your boot sector.
I keep my boot sector backup on boot partition.
That only works as long as partition information in the MBR stays intact. If that's overwritten, an OS (any OS!) can't determine the start & size of partitions anymore & thus a /boot partition would be inaccessible too.

Backing up a MBR is always wise (especially before trying an OS install), but backup should be kept on another drive (personally I prefer USB sticks for this purpose).

As for this problem: if booting a freshly installed system doesn't work, the cause is often a mismatch between how Linux / Grub / the PC's BIOS see harddisks / partition assignments. If Lubuntu install completed and Grub starts, I'd first try booting Lubuntu manually from the Grub console. Procedure:


  1. Boot LiveCD and find /boot/grub/grub.cfg on Lubuntu partition. Have a look at contents, and make a note of the commands used to start each menu entry (easiest would be to print menu.cfg, if that works from the LiveCD). You can also check if kernel and initrd files are present in /boot, and note how exactly they're named.
  2. (NOT from the LiveCD) Reboot into Grub menu, and hit "c" key (=Grub console).
  3. Enter just those commands necessary to boot Lubuntu. Good chance that "set root", "linux", "initrd" and "boot" (with appropriate parameters, check the grub.cfg noted down earlier) will do the job. Using the TAB key to complete commands / filenames makes typing easier. And you'll have to figure out correct partition # to enter. Finish with "boot" [ENTER] and cross your fingers... ;-) Watch on-screen messages closely, and re-try with adjusted parameters and/or additional commands if 1st attempt didn't work.
  4. If you manage to boot Lubuntu this way, then re-installing Grub should be much easier from a Linux system that booted from same drive as what you're trying to repair Grub on. When booting Lubuntu works normal, then you can add Windows entry back to grub menu configuration (if missing).

By the way: what version of Lubuntu did you install, and on what type of PC? And what version does Grub report itself as?
 

That only works as long as partition information in the MBR stays intact. If that's overwritten, an OS (any OS!) can't determine the start & size of partitions anymore & thus a /boot partition would be inaccessible too.
That's true. Not bad idea to keep it separate too.
I never gave it much thought because I run linux exclusively, and never had an issue with mbr (never gets overwritten), tho all my config is backed up on a file server. I found that to be a huge time saver on more than one occasion (especially when running gentoo :)))


To the OP:
You can even go with OpenBox. It's extremely light and fast. I used it on an very old laptop. It worked great.
 
Hey guyz thanks for your help ... it feels really goood when u got whole lot of replies to your ..but to be straight forward ...i amnt that good with ubuntu yet ... I was finally able to install ubuntu for windows (actually lubuntu) .and can now see t boot partitions at startup Xp and ubuntu ..all that woks fine ..But my os cant find the drivers for my atheros n/w card and when downloaded the Tar setup and tried to install it through some comands i found over the net ..it says the install file isnt available .. now to install the installer i need Linux setup in CD to boot from it .Well I just have a pen drive the cd drive doesnt function .Is their any other way to do the same .
 

Does ifconfig (sudo ifconfig) show eth0? Maybe it's just not configured/started?


You can try making bootable USB from the LUbuntu iso image using the UNetbootin tool.

Once you boot into LiveCD(USB) check if the NIC works. I haven't seen one that didn't work on LiveCD.
If it works, fire up the terminal and enter sudo lspci -v | less.
It will spew a bunch of text, but try to find ethernet controller section. Should look like this.
Move the screen using up and down arrows, and q to get your command line back.
Code:
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device 8385
	Flags: bus master, fast devsel, latency 0, IRQ 42
	I/O ports at e800 [size=256]
	Memory at fbfff000 (64-bit, non-prefetchable) [size=4K]
	Expansion ROM at fbfc0000 [disabled] [size=128K]
	Capabilities: [40] Power Management version 2
	Capabilities: [48] Vital Product Data
	Capabilities: [50] MSI: Enable+ Count=1/2 Maskable- 64bit+
	Capabilities: [60] Express Endpoint, MSI 00
	Capabilities: [84] Vendor Specific Information: Len=4c <?>
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [12c] Virtual Channel
	Capabilities: [148] Device Serial Number 40-00-00-00-68-4c-e0-00
	Capabilities: [154] Power Budgeting <?>
	Kernel driver in use: [B]r8169[/B]

On the last line it will show you which kernel driver it is using.

On the other side, if you can't boot the USB, do the same command in LUbuntu. It shows you which exactly NIC you have, so you can find which kernel driver to enable.


That only works as long as partition information in the MBR stays intact. If that's overwritten, an OS (any OS!) can't determine the start & size of partitions anymore & thus a /boot partition would be inaccessible too.
I was just reading the thread again, and I thought I might add one more thing just to clarify. Partition table in MBR will get overwritten only in case of repartitioning, or corruption (or manual intervention like with dd command). During installation, only MBR record gets overwritten (partitions stay OK).
 
Hi I finally made a change instead of Lubuntu i installed he Ubuntu 10.04 Natty .But face the same problem not atheros n/w drivers hence i tried to install the driver after downloading the Tar file ..but got several errors ..used commands like ..
first i downloaded the drivers and then put it in home directopy and did a :make got errors Linux kernel source not configured - missing autoconf.h. searc
sudo dpkg -i *.deb
after downloading the packages ..make_3.81-8_i386.deb ,gcc_4.4.4-1ubuntu2_i386.deb ,g++_4.4.4-1ubuntu2_i386.deb ,dpkg-dev_1.15.8.4ubuntu3.1_all.deb ,cpp_4.4.4-1ubuntu2_i386.deb,libc6-dev_2.12.1-0ubuntu10.1_i386.deb.crdownload .


actually i downloaded one at a time and then reboot sysytem login to windows and then downloaded and installed on ubuntu
..everytime i was getting newer errors ..so i finally checked for a while over internet and their could lot of such packages which are interdependent ..and i may just keep looping .
Package libdpkg-perl is not installed.
dpkg-dev depends on patch; however:
Package patch is not installed.
dpkg: error processing dpkg-dev (--install):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of g++:
g++ depends on g++-4.4 (>= 4.4.4-1); however:
Package g++-4.4 is not installed.
dpkg: error processing g++ (--install):
dependency problems - leaving unconfigured
Setting up make (3.81-8) ...
dpkg: dependency problems prevent configuration of build-essential:
build-essential depends on g++ (>= 4:4.4.3); however:
Package g++ is not configured yet.
build-essential depends on dpkg-dev (>= 1.13.5); however:
Package dpkg-dev is not configured yet.



I want to know if theirs any way i can download the ubuntu 10.04 update manually through windows and then install them or something else that works in ubuntu ...
 

It would be useful to know which atheros card you have, because there is a great possibility that the driver already exists within the kernel. It might aready been built and all you have to do is load the appropriate module and/or start the net service.

I can't help you much with Ubuntu, but let's get some basic info, and me or someone who knows around Ubuntu might point you in the right direction.

Do this:
Code:
sudo ifconfig > ifconfig.txt
Code:
sudo lspci > lspci.txt
Transfer those two files to windows so you can post the content.
Also in 'lspci.txt' leave the 'Ethernet controller' part, the rest you can delete.
 

How to run Office 2007 or Windows XP from inside Ubuntu?
 

Most popular visualization software are VirtualBox and VMWare.

My recommendation is VirtualBox. I use it at work and home daily.
 

Did any firefox setting is available in this installation,If its possible means help me how to manage that type of installation? Hi,Then i check out these software but it explain about cloud computing other then this for what this software is using can you explain deeply?
 

hi so many tutorials available online for installing ubuntu os but as linux versions slow down the system and they are widely used as servers in corporate industry...
 

ok thanks i will study that and come back to u..
 

hi so many tutorials available online for installing ubuntu os but as linux versions slow down the system and they are widely used as servers in corporate industry...
Couldn't be further from the truth....
Unlike windows, a linux doesn't slow down over time. The only slowdown I've ever experienced was during very heavy HDD usage which will slow down the system response because linux is primarily build for a server and in turn gives higher priority too HDD, than to input devices, and X.
But this happens so rare on a desktop system. The only time I've experienced it was when creating a single 30GB image file during which time the desktop environment was dead.
On the other hand it is not recommended to use the desktop aimed distros like Ubuntu or Arch as a server system because they tend to use the newest builds, where for servers it is better to use slightly older, tested versions.

Did any firefox setting is available in this installation,If its possible means help me how to manage that type of installation? Hi,Then i check out these software but it explain about cloud computing other then this for what this software is using can you explain deeply?
I don't understand this... sorry.
A simple google search gave several howtos on installing Win inside a VirtualBox:
Install Windows XP inside ubuntu using Virtualbox
install windows XP inside Oracle's Virtual Box - YouTube
 

That i have one doubt, How can we install another os after installed linux..
 

First you need to make room for the new OS using a partition manager, for example gParted form Ubuntu LiveCD. Of course, if you left an empty partition, then skip this.

Backup your MBR to a safe place, good choice is a USB thumb drive:
dd if=/dev/sda of=<path to mounted USB stick>/MBR.backup bs=512 count=1
Assuming your HDD is /dev/sda
This will make a backup of your MBR to a file called MBR.backup on a USB stick, so you can replace it later after another OS installation overwrites it on a HDD.

Now go ahead and install another OS.

After installation, if you don't get a choice which system to boot, fire up your liveCD and insert USB stick where you backed up your MBR:
dd if=<path to mounted USB stick>/MBR.backup of=/dev/sda bs=512 count=1
Again assuming your HDD is on /dev/sda

at this point you need to add the other OS to your boot manager (GRUB or LILO).

Google how this is done for OS you are installing.


Of course backup your data when you do something like this.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top