Ubuntu Installation :: Why Is Gparted NOT Installed On Vanilla
Feb 5, 2010
I have always been amazed that despite the fact that the liveCD obviously has gparted on it, that it is doesn't install it. Why not?I understand it is a tool with which you can easily damage your system, but that's no reason not to give it to users, once its aready taking up space on the liveCD.
I am trying to compile a new vanilla kernel on to my Ubuntu server system which has been freshly installed with Ubuntu 10.04 server 32bits. As this will run on a VIA epia-px5000eg mainboard with USB stick I want compile this kernel on a different machine on which is also ubuntu 10.04 installed. Unfortunately currently I experience difficulties when I boot kernel 2.6.34; it says "Kernel panic - not syncing: VFS: unable to mount root fs on unknown block" while if I load to original kernel that comes with Ubuntu 10.04 all works perfectly well. BTW reason I want to build a custom vanilla kernel is to trim down kernel to the necessary services I need as I am running a server that requires just the essentials. And it needs to support the VIA Epia CPU processor family ( C3, C7 or generic setting which is another hurdle which I won't discuss here ).
Hopefully one out there is able to guide me further as I type step by step what I executed. Thanks for your replies in advance:
Yet I hook up the VIA epia-px5000g with 2gb usb stick, a dvd drive and keyboard ( all usb ). Boot from CDrom and install a minimal system (<f4>) to usb stick. Partitioning part I set it to EXT4 and used full size thus no SWAP. Also mount option " noatime " has been set all to save writes to usb stick. When the base system has been installed a user has been added, as well apt is being configured to install only security updates automatically. As services I want to run definitely openSSH-server so I can access remotely. Grub gets configured and system will be rebooted.
At this stage I configure the network interface to a static address so I do not need to check my router all the time which dhcp address Ubuntu is using if I want to access remotely.
Now the compile part starts, the ubuntu way. I log in to my other system and execute following commands accordingly code...
10 yr old Dell laptop with NO WORKING DRIVES. i was dual booting xp and xubuntu when i decided it was time to cut the cord. so i installed gparted and deleted my windows partition. now it won't boot. my assumption is that i never installed grub. i got a usb to ide cable so i can access the hard drive from my desktop (xp home edition). i read that grub should be in a folder called "boot". i see on my hard drive that i have: "disks", "winboot" "install", "uninstall-wubi.exe", and "xubuntu.ico". if i expand the "disks" folder, there is a "boot" folder containing another folder called "grub", but the folder is empty. is this where i install it? am i an idiot and missing something stupid? where do i download grub if i need it?
I have 3 Ubuntu installations & a PCLINUXOS, plus Windows XP installed on one hard disk. I still can boot to each one of them and can mount each one using Ubuntu.
The problem "may" have occurred when I reduced the size of some linux partitions using gparted. I still have plenty of space in each of those partitions.
When I started gparted all of the HD was unallocated. I did that from each ubuntu installation and the PCLINUX installation, plus LIVECDs. All indicated the space was unallocated.
When I did an fdisk -l from a Puppy Linux LiveCD I got a normal start and ends of each partition.
When I tried it from Ubuntu installation or live cd, I received the following types of responses:
Code: ubuntu@ubuntu:~$ sudo fdisk -l /dev/sda5
Disk /dev/sda5: 28.5 GB, 28566397440 bytes 255 heads, 63 sectors/track, 3473 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System ubuntu@ubuntu:~$ sudo fdisk -u /dev/sda5
The number of cylinders for this disk is set to 3473.There is nothing wrong with that, but this is larger than 1024,and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO) 2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK) Plus the Windows partition seems to go over its limits.
Since all of my OS installations are still working, I don't know how critical this is. From reading another post, I understand this might be able to be fixed by making some changes in fstab.
I've installed gparted via "yum install" and its requested dependencies (gtkmm24, glibmm24, cairomm, libsigc++20).
When I call it from Applications>System Tools menu (and from bash shell, too) I receive "The exec() call failed." message and no other else. On another computer with same system and situation gparted it's ok.
I'm using KDE (Kubuntu) and I was wondering about integration of Firefox into KDE. I know that kmozillahelper provides this and so I installed it. But the thing is, I compile Firefox myself with some custom optimisations, so I don't use Firefox from the repositories.
The firefox from the repositories uses kmozillahelper but my compiled firefox (even the mozilla provided firefox) does not.
I've got an Ubuntu 10.04 box (up to date) with a MySQL database that I log into remotely via an SSH tunnel. In order to make this secure, I've remapped the SSH port to something obscure, and locked down the firewall to allow only this port.
I've disabled password login, and get in via a 1024-bit RSA key, which has an attached passphrase.Right now, it works like a charm. However, I've become interested in trying out NoMachine NX as a way of working on the Ubuntu machine (VNC works, but is not an option). NoMachine NX requires a DSA key without a passphrase, and is not interested (as far as I know) in playing nicely with my existing RSA keys.
My question, for you security experts, is this. Do I have to scrap my existing SSH config and start fresh with NX in mind? Or is there a way around this? Moreover, if I do that, and get NX working, will I still be able to use Putty to tunnel in as I do now, for using the database?
I am trying to compile a vanilla kernel that I got from git in a VirtualBox VM running Fedora 12. With RHEL (albeit on real hardware, not a VM), I am able to do a make; make modules_install; make install and simply able to boot up the kernel. The make install step, in particular, creates the initrd using /sbin/installkernel, which also updates the grub configuration.
Under Fedora 12, my new kernel does not boot. I see no messages on the screen, not even if I change the boot command line to remove quiet bootup. I see disk usage on the VM and the CPU gets pegged at 100%. Strangely enough, if I change the initrd to refer to an existing, Fedora-provided kernel, I can boot my new kernel without any problems. I started with a Fedora kernel config and used it to generate the config for my new 2.6.33 kernel, so it couldn't be the case that I missed something in the config either.
Does anybody have an idea about what could be going on? Is there some specific patch that Fedora kernels use that are essential for booting up?
Also, the guest Fedora OS is 64-bit, if that is relevant.
I've newly installed Lenny and I find that xterm doesn't have tabs or pretty colours. Vim is also colourless. Is this a conscious effort by Debian to strip back the install to it's most utilitarian? Or am I using the wrong versions of each app?
I've downloaded 2.6.36-rc8 vanilla kernel, then I copied .config file from my current working kernel 2.6.32.21-168.fc12.x86_64, then I've configured, compiled and installed kernel like this:
Code: make gconfig make -j4 all (or make all) make modules_all make install The last command edits my grub.conf file and writes this: [Code]....
I checked my .config and ACPI, and File Systems are built into kernel and not loaded as modules... And, I have LVM but my /boot partition isn't in it, so I don't HAVE to use initrd, right? How can I boot from a vanilla kernel without initrd ?
Im using a Fedora 15 and im trying to compile a 3.0.0rc5 kernel. but im unable to get a config for my machine to boot up. i tried make localmodconfig it says
using config: '.config' capifs config not found!! Restart Config
and then i tried cp /boot/config-2.6.38.6-26.rc1.fc15.i686.PAE .config to override the default config but stil that doesnt work. work around to get a proper config so that i can boot the latest kernel here?
I thought I would give some instructions on how I compile my kernels. My long-time windows user parts trader recently asked me how to compile a kernel on Fedora. He was confused with all the tutorials requiring you to build an RPM, so I showed him how I do it, the standard/easy/lazy way. Before I start, here are a couple things I assume. I assume you are a Fedora user and that you are NOT in text mode, but in GNOME. I also assume you realize that this can take up to SIX HOURS on an old Pentium 3 1.3Ghz. Remember that some proprietary drivers as well as some free ones are not included in the kernel, so make sure you don't delete your existing one.
First get the dependencies you need. su -c "yum -y install gcc ncurses-devel"
Next get the kernel source. I use 2.6.33.3 as an example. To download it, click here.Extract it by right-clicking on the file and then choosing extract here. This will take about five minutes. Now open a terminal, become root, and cd to the directory linux-2.6.33.3. It is important to cd here and not to the kernel directory inside of there, even though make has an extra variable that specifies there.
Now we need to configure the kernel before we build it with make O=kernel menuconfig. It will take a couple minutes to set up, then you will be presented with a cheap psuedo-gui in your terminal. Just select exit and yes to save your config. You usually don't need to change anything here.
Ready to compile and install? Remember this can take up to six hours, and your machine may become VERY slow. It is not recommended that you attempt to use your machine with this in progress. OK then. As root, in the same directory, type:
make O=kernel && make O=kernel modules_install install. This will compile the kernel and install the kernel and it's modules. Done? Now change the kernel and initrd in your bootloader to match the new kernel. If you ever want to reuse the same source code folder, use make mrproper to clean things up and build it again.
I have a new 1.5tb internal drive I want to partition as NTFS (because Windoze machines need to see/use it) and in gparted, when I go to partition -> new, it says it could not add this operation to the list a partition cannot have a length of -1 sectors. I recall having this issue on my 2tb external drive and I ended up creating the NTFS parition on a Windoze machine and then bringing it to the Linux box but since this is an internal drive, that's not an option. I took all the defaults in the "Create new partition" screen.
I have been trying to resolve this issue and it's bewildering me... I have been trying to do the install on Ubuntu Netbook Remix (UNR) and after setting up the keyboard language the installer locks up. The error message mentions it was unable to launch Gparted as it crashed.
I have also tried to launch Gparted from the system admin apps and Gparted will show it is trying to read the hard drives and then crashes. I have tried updating Gparted from the repo's and on launching it also crashes too.
i am running xubuntu 9.10 and can't format any usb drive (tried few of them). The same issue i had with fluxbox mint 8 (based on ubuntu 9.10) I thought that my usb drives are dead, but after formatting it in windows xp, i could run from them any linux distro. I installed then mint xfce 6 (ithink based on 8.10) and crunchbang based on 9.04, and had no such issues. But now i am back on Xubuntu 9.10 and want to make all live usb within it. At the end of formating process i have message something like: cannot mount usb drive: The enclosing drive for the volume is locked. Of course, no drive is locked. After that i can start making installation usb disk, but after some percentage it reports some error, and of course, it does not work.
I have a machine running Ubuntu Server 9.10 installed on an 80GB RAID1 disk. The system has two arrays (one data, the other backup), each of the same size in RAID6 with ext4 fs, connected to separate 3ware 9690 controller cards. I had to increase the size of the arrays from 8TB to 12TB. No problems - added the drives, migrated the new disks into the array, rebooted the server, and everything is visible. I unmounted the drives and then attempted to grow the partition (it's a single partition), starting with the backup array, using gparted. It sees the unallocated space but when I try to grow the partition into the unallocated space it fails. Here's the gparted error details:
I have on sda1 Windows 7 installed. On sda2 I have 3 sub partitions (extended partition) with Ubuntu 10.04 and a swap space and one partition for /usr/local. Now I tried to move space from sda2 to sda1 using gparted. It's not possible. I deallocated space from sda2 which works. But I cannot merge it with sda2. Is that, because sda2 is an extended partition? Is there a work around without killing all partitions and lose my complete data?
I've installed Windows 7 + XP + Ubuntu 10.10 and Mac Os X on my PC. The problem is that XP wont boot. I've tried a lot of fixes for the last 2 days but still nothing. So I've come to conclusion that it might be probably due to its partition (dev/sda being inside of another Extended partition (dev/sda3) as you guys can see on the attachment. If so, how can I move it out of the extended partition.
I'm trying to format a 32GB USB flash drive to ext3 for Linux.
Code: sudo tail -f /var/log/messages shows me: Jan 1 23:40:42 rj kernel: [13773.966516] sd 11:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK [13800.780008] usb 2-1: new high speed USB device using ehci_hcd and address 8 [13800.932141] usb 2-1: configuration #1 chosen from 1 choice [13800.932281] scsi12 : SCSI emulation for USB Mass Storage devi
i have a problem... after using gparted... to delete my ntfs part, and increase my linux partition, moving (by copying or deletin) SWAP and one other partition, used for system..i ended up having this message displayed on restartPHP Code:Error: file not foud.grub rescue> i will post ASAP a print screen of gparted maybe you can help me in sorting this outI would like NOT to reinstall ubuntu, but to find a sollution to this problem
I have installed ubuntu many times before and never encountered this problem. The installer shows partition sizes which do not match my current sizes at all. This occurs during LiveCD too, I have taken a screenshot of the problem. GParted seems to be showing incorrect partitions while the one the right is correct.
Ive been trying to install gparted (from source) but configure fails with the error
Code:
Which is odd because it looks like libuuid is installed, i think its installed as part of e2fsprogs which is installed (according to synaptic). Does anyone know how i might resolve this? or is it safe to compile anyway?
As a side question, i was going to install with synaptic, but the version of gparted there was 0.6.2 while the version on the website was 0.8.0. i tried apt-get update and apt-get upgrade but the package manager version was always 0.6.2. is it usual for the package manager version to be out of step like this, or is there something else i could have done to update it?
So, my GParted (Ubuntu) won't create an NTFS partition (the option is greyed out). I'm trying to create an NTFS partition to allow for a Windows 7/Ubuntu dual-boot. Everywhere I check, they suggest either creating the NTFS partition in GParted BEFORE installing Windows OR leaving it "unallocated" with the Linux partition after it.
I have tried both now, with two results:
1) GParted can't create an NTFS partition within Ubuntu 9.10.
2) On the other hand, the Windows 7 Installer says that Windows can not create a partition or find a partition when I attempt to select the "unallocated" portion.
I've getting strange build errors when using make-kpkg with the latest (2.6.39-rc5) vanilla kernel.I'm using the procedure outlined here: https:[url]....e.g.:
Code: Building modules, stage 2. MODPOST 3053 modules WARNING: modpost: Found 60 section mismatch(es).To see full details build your kernel with:'make CONFIG_DEBUG_SECTION_MISMATCH=y' CC arch/x86/crypto/aesni-intel.mod.o[code]....
There is even much more error output but it looks like it is basically the same issue.