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
ADVERTISEMENT
Oct 18, 2010
I was having a discussion with someone who asked me whether a Linux OS has to be rebooted when the hosts file is modified. From personal experience, on Windows I change the file but don't reboot and I've seen others do the same thing. I assume Linux has no exception(s), but is there any reason why a reboot is not required (to at least justify my actions)?
View 2 Replies
View Related
Apr 14, 2011
This isn't really a problem or an issue but I'm kinda curious about it. I thought openSUSE generate a hostname like "linux-xxxx" when you install it and that was it. But for me it generates a new host name every time I turn on my computer. For example, right now it's "oseiler-linux" yesterday it was "mac-sophia". I'm wondering how it generates these kinds of hostnames.
View 1 Replies
View Related
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
View Related
May 4, 2011
I'm working with Linux 2.6.23 on an embedded device and am receiving the following error executing the reboot command.
View 2 Replies
View Related
Oct 7, 2010
I am using sda1 as /, which is a bootable drive. I do not know if my problem is that I did not create a /boot drive. After removing the iso dvd, I tried to reboot and I get this back: -bash: /sbin/reboot: input/output error Then it returns me to the terminal prompt.
View 6 Replies
View Related
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
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
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
Oct 6, 2010
Can I use UUIDs to setup a raid with mdadm?
View 3 Replies
View Related
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
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
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
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
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
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
Sep 1, 2011
is everytime i reboot , my keyboard is reset to USA. im in canada & it pisses me off each time i need to change it also.all my options on EMESENE is the same issue always RESET.it's like if nothing keeps the changes once rebooted.
View 1 Replies
View Related
Mar 25, 2010
Further to this LQ thread which Tinkster solved by suggesting the last command (thanks Tinkster) I have been exploring last -x reboot and have found that the reported duration is incorrect for the last reboot and shutdown when a old wtmp file is used. Not having a record for the following shutdown, last assumes that the system has been up until the current time and similarly for the shutdown.
The output comes in time order, latest first, each line showing the time of the reboot and the uptime from then to shutdown. Using last -x reboot shutdown to show the shutdown time, here's an illustration
Code:
shutdown system down 2.6.29.6-smp Sun Mar 7 15:35 - 03:02 (11:27)
reboot system boot 2.6.29.6-smp Sun Mar 7 09:35 (05:59)
09:35 until 15:35 is 05:59.
When the uptime exceeds 24 hours it is shown as (<days>+<hours:minutes) like this
Code:
shutdown system down 2.6.29.6-smp Sun Feb 21 12:39 - 13:20 (00:40)
reboot system boot 2.6.29.6-smp Sat Feb 20 09:39 (1+02:59)
09:39 until 12:39 the next day is 1 day 02:59.
The time in parentheses at the end of the shutdown lines is normally the time until the next shutdown.
So far so good. The incorrect output is for the last reboot and shutdown of an old wtmp file. Here's the output of last /var/log/wtmp -x reboot shutdown; last -f /var/log/wtmp.1 -x reboot shutdown
Code:
[snip]
reboot system boot 2.6.29.6-smp Fri Mar 12 07:42 (01:54)
shutdown system down 2.6.29.6-smp Fri Mar 12 01:31 - 09:37 (08:05)
wtmp begins Thu Mar 11 08:25:26 2010
[snip]
reboot system boot 2.6.29.6-smp Wed Mar 10 14:12 (15+01:42)
shutdown system down 2.6.29.6-smp Wed Mar 10 12:41 - 15:54 (15+03:13)
[snip]
The boot started at "Wed Mar 10 14:12" which had an actual uptime of 1 day 11:20 is reported as 15 days 03:13 which is the time from then until the last -f /var/log/wtmp.1 -x reboot shutdown command was issued. The time from shutdown to shutdown is similarly affected.
View 1 Replies
View Related
Feb 16, 2011
last -a shows server rebooted, how to identify the source or cause of reboot? thx reboot system boot Wed Feb 16 08:52 (02:0 2.6.21.7-2.fc8xen
View 2 Replies
View Related
Nov 22, 2010
I have no writing privileges for root, user, nor group. After copying Fedora 14 iso image to my USB flash drive, I attempted to take it off to install another distro for mult-ibooting, but was not able to delete the content. I am stuck with no writing privileges on my USB drive.
Here is what may have caused it. When removing the content that was on it before to a /data directory, I accidentally removed the flash drive title = 4003-6F40. So I have directory 4003-6F40 in my /data file. Then after copying Fedora-14 to USB, Fedora-14 is now acting as the title of my USB pen.
(Side note: I never installed using my USB pen because it was before I learned of syslinux, which is what brought me to this issue now that I am trying again to use my USB to install.)
View 6 Replies
View Related
Jun 19, 2011
Somehow during a recent ubuntu install I managed to set my clock to Indian Standard Time instead of Greenwich Mean Time. Now I'm having problems acessing some websites and I think it's because the certificates appear to be off date.
View 2 Replies
View Related
Nov 27, 2010
i searched on google before pasting here. I am using gnome 2.16.0. When i set the time (lower right corner) it sets my time automatically to AM. I dont see any option to change it to PM.
View 2 Replies
View Related
Dec 3, 2010
I want to know if there is a way to know the uptime for a server after a reboot process, I need that information for a statistic, but I forgot to take the uptime before reboot the server, so I am looking for that information after the server is power on.
View 1 Replies
View Related
May 17, 2010
What is the exact way 'reboot -f' command operates? How does it differ from regular reboot/shutdown? Is it proper to restart pc using 'reboot -f', if not why? The reason why I'm asking this: After installing live-distros via USB, I usually do this 'reboot -f' for restarting.
View 1 Replies
View Related
Jul 2, 2011
I login to my server and when I open new console I get:
-bash: /etc/profile: Input/output error
-bash: /root/.profile: Input/output error
and nothing is working I tried to reboot or top command but not working also I can't open SFTP the server says The server has rejected the SFTP request.
View 2 Replies
View Related
Mar 11, 2010
I am having an issue with Windows 7 changing the boot order everytime I start up.I have 4 partitions:bootlinuxwindows.Grub is installed on the boot, and boots up both operating systems fine, however when I boot to Windows the bootable partition is changed to Windows and the MBR is rewritten.How do I stop this? Its rather annoying to have to boot, chroot and fix this problem everytime.
View 2 Replies
View Related
May 13, 2010
any way we can change the delimiter that uses grep?
I think, by default, grep uses as the delimiter.
View 3 Replies
View Related
Sep 17, 2010
I tried to make my account root by editing etc/group:
root:x:0:oneat
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:oneat
...
But it didn't succeed.What can I do more?
View 4 Replies
View Related
Jan 15, 2010
I am attempting to modify the default umask value under all accounts on my linux system to 002. This will hopefully allow both the account and the account's group access to the created files.
I have modified it within /etc/bashrc, however it seems to be making no difference on this default value. The files I create through "File Browser" all have the access rights set to 600.
Is there any error here, as all evidence I can find on the internet points to the bashrc file.
View 1 Replies
View Related
Dec 11, 2010
Is there a general how to for installing? I am wanting to install it on an older laptop and a question I also have is how to get it so it picks up the wifi or is Linux so on top of things that those drivers are already included?
View 4 Replies
View Related