Ubuntu :: How UUIDs Are Created

Jun 30, 2010

I have a 500GB SATA drive in a USB enclosure that I use to backup my system.My first step was to clone the 500GB drive in my computer to the USB drive.Now I would like to use rsync to copy changes made since that cloning to the filesystem on the USB drive.But Ubuntu will not let me mount the filesystem because it has the exact same UUID as the main filesystem! I don't know how the UUIDs are created, but without a unique UUID I do not know how to do the mount.

View 5 Replies


ADVERTISEMENT

Ubuntu :: Can't Boot To Other Backtrack Due To Wrong Uuids

Oct 22, 2010

I'm using 10.10 (updated from 10.04) and from the 10.04 I had problems when the system updated the kernel. After a kernel upgrade I can't boot to my other linux(Backtrack) due to wrong uuids. I must go to /boot/grub/grub.cfg and remove the uid and put /dev/sda5 for example. If I don't edit backtrack loads to busybox. Is there any way to fix that parameteres permantly? Because I don't want to make this change every time.

View 8 Replies View Related

Ubuntu :: Power Outage - Uuids Changed - No Gigabit

Jul 14, 2010

I come with questions to try out the wonderful forum support I keep hearing Ubuntu has! I figure this is a convenient time to ask, since I am soon to swap the UPS on my Ubuntu box. This all refers to Ubuntu 9.04. You see, not too long ago, I had a couple of power outages, and suffice to say, despite the efforts of my UPS, I didn't get to shut down my Ubuntu box properly on either occasion. After the first one, when I powered the computer back on it failed to boot. Some googling of the error message led me to find that the UUIDs Ubuntu assigns to things like hard drives, which are not SUPPOSED to change, had in fact changed. From an archived thread here I found out how to find out what the new ones were, and slapped them into my FSTAB hoping that'd be the end of it.

(Partitions/Drives affected: hda2, hdb) It wasn't. Ubuntu came up with new errors to throw at me. This time, it threw the "bad superblock/wrong fs type" error that I'm used to seeing when I fudge a mount command. It appeared to be the same anyway, it went by so fast I couldn't really read it, sure wish the pause button worked. The gui did finally load, but showed no sign of the affected drives.

I found that if I commented out the affected drives in the fstab, they would appear in the gui, ready and mountable and apparently just fine. I've double-checked the UUIDs. The new UUIDs I put in fstab match the new UUIDs that the vol_id command reports. What is wrong with my fstab? Why won't it mount them automatically? (I'll post both versions as an attachment)

Another minor problem is for some reason I can't get privoxy running anymore. I've temporarily taken to running the Windows version in wine. I seem to remember I had a helluva time getting the linux version to work in the first place anyway, so I think I'll just keep running the windows version in wine. Most importantly, what can I do to prevent this happening again? Debian Sarge never gave me such trouble (and my deb box suffered quite a few improper shutdowns too). Ubuntu's based on Debian. What gives?

View 5 Replies View Related

Ubuntu Servers :: Not Quite Understanding UUIDs And Grub2 On 10.04 Server?

Jul 16, 2010

I'm trying to set up an Ubuntu server using 10.04 (64-bit), and running into problems after a couple of reconfigurations. Here's the full story:I initially built the server on a 400+GB RAID5 array, putting everything but swap in one partition. Unfortunately, I needed to repartition, putting / in the first primary partition, swap in the second partition, /var/log in the third primary partition and /home in the remaining space on the fourth primary partition.

However, at this step, I ran into some problems with UUIDs in /etc/fstab and Grub2 (I've used Linux for about 9 years, but I'm new to Ubuntu, and I haven't used UUIDs or Grub2 on Gentoo, yet). Consequently, I made the (probably not smart) decision to move back to the /dev/sdX notation I am familiar with.The problem with that is that now I need even more space on /home, so I've added a Dell Powervault and a Dell PERC5/e SATA card to my server. Now, Grub2 tries to boot from the new RAID array on the Powervault instead of the internal RAID array, so I am trying to move back to the UUID notation so that I don't have worry about /dev/sda being the internal array sometimes and the external array at other times.I don't mind being RTFM'd, but I'm having trouble finding pointers to the documentation explaining Grub2 configuration and the UUID notation. Does anyone have pointers to some readable, concise documentation on configuring this in Ubuntu?

View 4 Replies View Related

Ubuntu Servers :: Use UUIDs To Setup A Raid With Mdadm?

Oct 6, 2010

Can I use UUIDs to setup a raid with mdadm?

View 3 Replies View Related

General :: Possible UUIDs Changing Every Reboot?

Aug 1, 2011

I have installed CrunchBang, then I moved the /tmp and /var to different partitions (I like to put these on reiserfs) the reason I did it after the install is because CrunchBang's installer doesn't give me the options to create reiserfs partitions during install (but does recognise reiserfs as I can manually mount them). Also these two partitions are logical.Anyway I have Windows 7 and Ubuntu 10.04 already installed and working fine but CrunchBang always changes the UUIDs of /var and /tmp when I reboot. Is that even possible I have also tried using the old method of /dev/sd** but of course that gets changed as well.

View 3 Replies View Related

Ubuntu :: How To Make Grub2 Generate A Grub.cfg File Without UUIDs?

Jul 11, 2010

I want to do everything with disk labels. My /etc/fstab is already set up for labels.How can I tell grub2 to use labels? I need it to stop using UUID for root.

View 5 Replies View Related

Ubuntu Servers :: Tell Grub To Stop Trying To Boot Based On UUIDs?

Dec 16, 2010

how do I tell grub to stop trying to boot based on UUIDs? I've been dealing with this for about two years now. I have this one system, a PowerEdge 1550, that for some reason WILL NOT boot using a UUID, and will only boot if I edit the first entry in grub, remove everything to do with UUIDs (completely delete the search line, replace root=uuid=[uuid] with root=/dev/sda1). I can't seem to make these settings stick and now with 10.10 there's no longer a menu.lst to edit. So, in short, I need grub to stop trying to boot based on a UUID. Absolute paths, baby. That's what I need.

View 3 Replies View Related

Slackware :: Kernel Panic While Booting With Grub Using Uuids

Jul 16, 2010

today I updated my Slackware 13.0 to 13.1. Unfortunately it didn't boot any longer. I probably forgot to run "lilo" before restarting. However, I reinstalled Slackware and I installed grub instead of lilo I'm more familiar with it..

This was my first menu.lst config:

Quote:

title Linux (uuid)
root(hd0,0)
kernel /vmlinuz root=UUID=6a8096a3-3915-4ef2-8984-976e42d04cfc ro vga=0x031b

While booting it stopped and printed this message:

Quote:

Kernel panic - not syncing: VFS; Unable to mount root fs on unknown-block

Then I compared it to other Linux system on different computers and I noticed that every of them, who are using uuids, using an initrd as well. So I created one and now it boots properly.

I just wonder, why? Why does it need an initrd to boot by using uuids?

View 2 Replies View Related

Debian Installation :: Grub2 Doesn't Recognize The UUIds - Invalid Signature

Aug 11, 2010

I have /dev/sda with Squeeze and Win 7 on it, and /dev/sdb with Squeeze. I've managed to get Grub 2 to boot from /dev/sdb1, but only by disabling /dev/sda from being a boot option in the BIOS. When it is available to boot, and lower priority than /dev/sdb, grub does not recognize the UUIds of the disks. So, I've disabled it for now and can boot from /dev/sdb no problems. Trouble is I cannot get Win7 to boot. Grub prints:

error: no such device: f0903a3a903a081c
error: invalid signature

When I boot into Squeeze and run 'blkid' I can see that:

/dev/sda1: LABEL="System Reserved" UUID="F0903A3A903A081C" TYPE="ntfs"

The Grub entry for Win 7 is:

menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set f0903a3a903a081c
chainloader +1
}

I don't understand how Grub 2 cannot recognize the UUIds. Can Grub 2 to be made to work with volume labels or just plain old /dev/... descriptions? Maybe I should give grub-legacy a go.

View 9 Replies View Related

Debian Hardware :: Boot Warning Fsck.ext4: Unable To Resolve UUIDs?

May 15, 2011

I have $ uname -a
Linux kub 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux

Most of the time when I boot my PC I get an error about fsck.ext4: Unable to resolve... I don't know why it's happening.

The problem is happening with my external drive that has 3 partitions:
/dev/sdc1
/dev/sdc3
/dev/sdc2

About 90% of the time I boot I do get the error. Sometimes after getting the error I can login and the external drive (/dev/sdc) is already mounted:
$ df -H
Filesystem             Size   Used  Avail Use% Mounted on
/dev/sda2               15G   8.0G   5.8G  58% /
tmpfs                  1.9G      0   1.9G   0% /lib/init/rw
udev                   1.9G   246k   1.9G   1% /dev
tmpfs                  1.9G   738k   1.9G   1% /dev/shm
code....

The UUID's in the error file match the output of the command blkid. And the UID's of blkid match the fstab UUID's. I don't know what to do at this point.

View 2 Replies View Related

Ubuntu Installation :: Migrate Working Single Disk System To Existing RAID Array Using Disk UUIDs

Aug 1, 2010

I had done a new lucid install to a 1 TB RAID 1 array using the alternate CD a few weeks back. I messed up that system trying to some hardware working that lucid doesn't have drivers for yet, so I gave up on it and reinstalled to a single 80 GB disk that I now want to move over to the RAID array.

I moved all of the existing files on the array to a single folder, then copied all of the folders from the 80 GB disk over to the array with permissions and symlinks (minus the contents of /proc and /sys, which I created empty).

These are the commands I used:

Quote:

p -a -d -R -v -t /media/raid_array /b*
cp -a -d -R -v -t /media/raid_array /d*
cp -a -d -R -v -t /media/raid_array /e*
cp -a -d -R -v -t /media/raid_array /h*

[Code]....

I tried to change fstab to use the 689a... for root, but when I try to boot, it's still trying to open /dev/disk/by-uuid/412d...

So then I booted from the single disk again and chrooted into the array, then ran update-initramfs -u. I got 3 "grep: /proc/modules: No such file or directory" errors, and "cat: /proc/cmdline: No such file or directory"- so I created directory /proc/modules, created an empty file /proc/cmdline, and ran the initramfs update again. Then I tried to shut down, which hung (probably because I was doing all of this from a terminal window in Gnome), so I killed the power after a couple of minutes.

It's still trying to use /dev/disk/by-uuid/412d... to boot.

What am I missing? I assume I just have to change the UUID to mount as root, but I don't know how.

View 2 Replies View Related

General :: Partitioning - Difference Between File System Created By Fdisk And File System Created By Mkfs?

Aug 1, 2011

I'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:

View 2 Replies View Related

Ubuntu :: Tty Not Created At Boot?

Jan 12, 2010

ly after updating, tty consoles are not created during boot. When using Ctrl+Alt+F[1-6] I get a blinking cursor and no login prompt. When I use:

Code:
sudo getty -8 38400 tty1
a tty port is created and I get the login prompt.

View 1 Replies View Related

Ubuntu :: How To Use Created Partition

Dec 9, 2010

I was able to create a new partition in my terminal using fdisk.

So basically this is just an additional partition in my currently installed linux (ubuntu). Now my problem is, how can I use that partition or how can I save files or install applications on it?

I tried creating a File system mkfs.ext3 /dev/sdb1, and I also mounted it, but when I copy files on the directory where I mounted it, it says "Permission Denied". I dont know if Im doing it correctly though.

View 1 Replies View Related

Ubuntu :: Mv File To Directory That Has Not Been Created Yet?

Feb 10, 2010

is there a way i can use mv or another command to move a file to a directory that has not been created yet.Id like to be able to create the directory and move theile in one command. Can this be done? if so how

View 8 Replies View Related

Ubuntu :: Get A Bootable USB Drive Created?

May 2, 2010

My boyfriend has an old IBM Thinkpad that he said I can use to install Ubuntu on and use it as a 2nd computer. Here's the problem, the computer doesn't have a CD drive, but does have USB. I've been trying to get a bootable USB drive created, but with no luck.

The USB drive is 2GB. Which Ubuntu would fit on here? The Thinkpad has a 20GB hard drive, and about 512MB memory. The processor I think is a Pentium III. I've even tried installing Ubuntu through the wubi.exe file, but it won't load. The current OS is a Japanese Windows 98. Do I need a bigger flash drive? The netbook remix version? or something else?

View 5 Replies View Related

Ubuntu Installation :: 8.04 - 10.04 /dev/md0 Not Created During Boot?

Jul 8, 2010

After an upgrade from 8.04 -> 10.04 my system is unable to boot. After a lot of work it seems that the blocking problem is that /dev/md0 is not being created in initramfs so the volume group containing the / file system is not being activated and therefore the boot fails at that point. In /sbin both mdadm and lmv exist and the arrays and volume groups can be created manually using them. The system can then complete booting. Updating initramfs after booting has no apparent effect.

Based on posts I have found I have tried adding raid=noautodetect and rootdelay=240 to the GRUB kernel command line separately and together with no effect, except delaying the boot. It seems that udev is not running correctly so I began digging through the udev rules but don't really understand how it actually works.In /lib/udev/rules I found;

85_mdadm.rules
85_lmv2.rules

If I were guessing (and I am) I would expect 85_lvm2 to be run before 85_mdadm, which is the wrong order. I also found 56_lvm.rules which doesn't seem to do anything. I would appreciate pointers of testing these rules to see what the problem is. It seems all of the pieces are there for this to wok correctly but there is something missing. How can I run or test a single rule? Which udevadm options test these rules,

View 2 Replies View Related

Ubuntu Networking :: How To Created Virtual IP's

Mar 29, 2011

i have one static IP, how can i turn it into multiple IPs so i can run multiple games on one machine.

View 1 Replies View Related

General :: Used Created Partition In Ubuntu?

Dec 9, 2010

Im a new user of Linux, for my present activity, I was able to create a new partition in my terminal using fdisk.So basically this is just an additional partition in my currently installed linux (ubuntu). Now my problm is, how can I use that partition or how can I save files or install applications on it? I tried creating a File system mkfs.ext3 /dev/sdb1, and I also mounted it,but when I copy files on the directory where I mounted it, it says "Permission Denied". I dont know if Im doing it correctly though
Thanks

View 2 Replies View Related

Ubuntu :: Where To See When Files And Folders Were Created On System?

Jan 18, 2010

I can't figure out where to see when files and folders where created on the system. All I can see in Gnome and the terminal is the modification time. I also want to see the last access time.

View 2 Replies View Related

Ubuntu :: Can't Write To A Partition That Was Created During Installation

Mar 4, 2010

I just finished installing Karmic Koala on my computer a little while ago... and I chose to partition the drive manually. My computer has 2 hard drives:

Here's the HDD which boots first and has Grub and Ubuntu on it:

[URL]

And my second HDD which has Windows and a backup partition called "datas":

[URL]

And here's a copy of my /etc/fstab file:

Code:

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).

[code]....

The ext3 partition on the 250GB drive called "datas" is an old partition that I created while I was still using Intrepid... and it works just fine. However the partition called "archives", which I created during the installation of Karmic, doesn't seem to work properly. For some reason I can't write any files or folders on it. Why is that?

View 3 Replies View Related

Ubuntu :: Text File Become Executable Once Created?

Jun 3, 2010

when I create a new text file in my pendrive, it become executable automatically. The text file name append with asterisk(*). However when I create a text file in Desktop, the created text file is normal and is not executable.

Another thing is when I copy a PDF file to my pendrive, it become executable file with asterisk (*) append after the PDF name. I've try copy whatever to pendrive but all end up with executable file.

View 6 Replies View Related

Ubuntu Multimedia :: No Access To Dvd's Created With Camera?

Jun 17, 2010

who has a hitachi dvd cam. makes movies records them to dvd's. but the permissions of the disk do not allow for anybody to open them?

I can gksu nautilus to find the permissions of the disk are set to "-1 - user #-1"

what is this about and how do i fix it so that i can read/copy/do anything with the disk without root permission?

the owner permissions are set by the camera, i'm assuming, because the actual disk creation has nothing to do with ubuntu at all.

View 1 Replies View Related

Ubuntu :: Retrieve Data Created On Another System?

Aug 23, 2010

My son's laptop with Ubuntu on went belly up, so before we dumped it I salvaged the hard disk.....now some weeks later he remembers there is some things he wants on the disk. Luckily I had done nothing with it ....have just connected the disk to my system I can see everything above(should that be below) home but not anything in his account. Any bright ideas for getting at his data is there a way of mass changing permissions or whatever?

View 3 Replies View Related

Ubuntu :: Stop Files Being Created On Desktop?

Oct 2, 2010

Everytime I open a drive, an icon shows up on the desktop. i hate that! i want a clean desktop free of icons so i can put pretty widgets and all that other junk . how do i stop this from happening?

View 2 Replies View Related

Ubuntu :: Created NTFS Partition - Cannot Boot From CD

Oct 12, 2010

I am new to ubuntu! I installed ubuntu and removed all partitions, now I have only one partition with 160 GB, Wanted to install again Xp but my laptop cant boot from CD/DVD, used GParted to create another partition and created one ntfs, but I have now one problem, ubuntu is not starting and I cant boot from CD. My laptop is Sony Vaio VGN-Fz18E .

View 8 Replies View Related

Ubuntu Installation :: 10.10 - Created Partition Not Showing Up

Oct 17, 2010

I'm having problems trying to install Ubuntu 10.10 onto a partition that I have created. I boot from disc, select that I want to instal it to a partition and when I get to the list of available partitions, it is not listed.

View 7 Replies View Related

Ubuntu :: Cannot Delete Files Created By Scalpel

Nov 23, 2010

I ran Scalpel to retrieve some files from an old HDD, what I didn't realise is how much larger the output from Scalpel is than the original disk space.

So what happened is at about 5% of files carved (pass 2/2) my disk space was full and the program aborted.

Then when I rebooted Ubuntu I can't get in unless using Recovery Mode.

I think this is because there is no disk space left. The error I get is to do with Gnome Power Manager not being configured, I never had this error before.

So I went into CLI prompt and performed 'find -maxdepth 2 | grep *.mpg' and I can see a tonne of mpg directores called ./~/mpg-1-6, ./~/mpg-1-7, etc, and they all have lots of files.

Now I have no way of deleting these, I tried using 'sudo rmdir */*mpg' and it cannot find the directory.

When I go to my home folder and 'sudo ls -al' these aren't listed.

The only way I can see them is using the 'find' command.

Can I chain the find command with a delete command somehow?

View 9 Replies View Related

Ubuntu :: Open Exact Pdf File That Was Created By .tex?

Dec 20, 2010

I wrote a very simple script to compile a Tex document and open the resulting PDF output file. The problem I have is that every now and then there are multiple PDF files in the same directory. For example if I have a file called test.tex I run my script and it compiles the test.tex and creates a file called test.pdf If there are only one tex and pdf file in this folder there is no problem. If there is also a 1.pdf in this folder the test.tex will compile and 1.pdf will open.

My question is: is there a way to open the exact pdf file that was created by the .tex file?

My script file is this:

#!/bin/sh
pdflatex *.tex
gnome-open *.pdf

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved