During installation when i set the partitions i have to provide a Name and a Label. What is the difference of these? It looks like only one should be needed. Any problems of using the same name for both?
After upgrade to 10.04, my disks are randomly named (sda, sdb, sdc) at each boot. My drive labeled "XP" is sometimes named "sdb" and sometimes "sdc", while my other drive "DATA" is respectively "sdc" or "sdb". This wasn't the case before upgrade with KUbuntu 9.10.
Due to this random naming, my auto-mount in fstab often fail at boot time !
Any solution for this (not found here by myself) ?
Is this linked to Grub troubles reported many times here ?
I created my data pool using /dev/disk/by-id and things went well. a recent view of zpool status however showed /dev/sdb and /dev/sdc being used instead. how can I be sure a rearrangement of my disks wont cause error?
I have servers which contain SATA disks and SAS disks. I was testing the speed of writing on these servers and I recognized that SAS 10.000 disks much more slowly than the SATA 7200. What do you think about this slowness? What are the reasons of this slowness?
I am giving the below rates (values) which I took from my test (from my comparisons between SAS 10.000 and SATA 7200);
dd if=/dev/zero of=bigfile.txt bs=1024 count=1000000 when this comment was run in SAS disk server, I took this output(10.000 rpm)
(a new server,2 CPU 8 core and 8 gb ram)
1000000+0 records in 1000000+0 records out 1024000000 bytes (1.0 GB) copied, 12.9662 s, 79.0 MB/s (I have not used this server yet) (hw raid1)
I have got a question about some terms in Debian package name, for example: 1:9.6.ESV.R3+dfsg-0+lenny1 What do ESV, R3 and lenny1 mean? I can't find information about it anywhere...
I have scanner working nicely, but...When I launch xsane, the scanning for devices upsets my tv-tuner.Xsane accepts a device name in the command line, but how to put it there?sane-find-scanner gives:found USB scanner (vendor=0x04e8, product=0x341b) at libusb:003:003found USB scanner (vendor=0x0c45, product=0x602d) at libusb:002:002
I have/had a PC with several hard drives, and a mix of ubuntu and windows on multi boot.The old boot drive died screaming, and I need to start again. (But my data is safe! yay!)
Is there anything special about which drive can be the main drive to start booting from? Or to put it another way, can I install to any of the other 3 and expect it to work, or do I need to switch them around so a different drive is on the connections for the recently dead one?
I have given up (for now, at least) the idea of a raid solution but I will still have 2-3 hard disks available for my workstation. If I choose to reinstall from scratch,can I have essentially two different homes?
Got Wintendo7 on one samsung S-ATA disk. ( need it for starcraft2 and Homeworld2... sorry.. )
Now..: Booting Debian Unstable from USB or CD-ROM, then start installer. Tell it to install on second samsung S-ATA disk. Before I go on, I just feel i will get into some serious trouble with GRUB?
Or will the installer understand, and see the windows7 installation and add it to Grub?
If not, what should I do inside /boot/grub/menu.lst when Debian is up and running?
I have a problem defining persistent device naming on a Debian Lenny server.I have:RAID1 controller on the server machine with two SCSI disks.external storage with RAID5. I have / mount on the first partition on the server SCSI disk and /storage mount on the external storage.
I'm experiencing a problem: The system recognizes the system disk (RAID 1), as sda or sdb - randomly.I want: To control the recognition, and tell the system that sda (sda1) will always be the system disk.The motivation: GRUB is configured to work with sda, and when the system disk doesn't, boot process fails, and I end up in the initramfs shell-like interface.
Booting the kernel . . . mount:mounting /dev on /root/dev failed: No such file or directory mount:mounting /sys on /root/sys failed: No such file or directory
I have a problem defining persistent device naming on a Debian Lenny server.I have:RAID1 controller on the server machine with two SCSI disks.external storage with RAID5. I have / mount on the first partition on the server SCSI disk and /storage mount on the external storage. I'm experiencing a problem: The system recognizes the system disk (RAID 1), as sda or sdb randomly.I want: To control the recognition, and tell the system that sda (sda1) will always be the system disk.The motivation: GRUB is configured to work with sda, and when the system disk doesn't, boot process fails, and I end up in the initramfs shell-like interface.
Code:
Booting the kernel . . . mount:mounting /dev on /root/dev failed: No such file or directory mount:mounting /sys on /root/sys failed: No such file or directory
I have a Mac Pro 1.1 and am having trouble installing Debian. I installed rEFIt but it won't show my install and live disks at startup. I have very little experience with the command line but would be willing to try. I have installed debian to my pc and used the command line successfully there, but want the OS for my mac.
One of my disks in my computer crashed, it was the one containing /boot and some data partitions. The other system and /home partitions were on a second disk, which is ok.
I was wondering, can I create a new /boot partition, and keep on using the rest of the system? Can I somehow do it with a chroot from a live/installer disk, run grub, and use my system again? I have another disk which I can put in the system, but there is even an unused partition on the disk which is ok (but it is rather big for /boot).
I just installed Fedora 12 and grub is not working for me. I have 2 physical drives, and installed Fedora on sdb (win xp is on sda). I picked the option that the computer booted from sdb when I installed. I then went and switched the boot order in the bios so that the computer would boot from sdb. Now Fedora boots fine, but when I try to boot into windows I just get a blinking cursor. I tried booting to windows manually (via picking that drive from the bios options) and that works fine.
I tried to edit grub.conf, but wasn't sure how to address the appropriate hard drive. How do I know what to fill in? The linux drive is (hd0,0), and grub tried to make windows (hd1,0). How do I know what to put in (hdx,y) for the windows partition? Grub tells me I have a /boot partition so everything is relative to that.If I'm way off base, please let me know. Is there a way I can just re-run grub so that it looks for everything anew? I also looked at device.map and sda is hd0.---------- Post added at 02:42 PM CDT ---------- Previous post was at 02:37 PM CDT ----------If it helps, this is my grub.conf:
I have an assignment question that I have been making no progress on.
I need a single line command to concatenate a group of files together and clearly label those files in the output.
I assume that just cramming a bunch of commands onto one line will not be considered OK.
and it has to work on some old version of Solaris (which I have been having trouble with normal commands not working the same all day on), but if you just have solutions for any normal Linux shell at least I would have an idea of what I am looking for.
I have looked though cat's man page up and down and I am pretty sure it cannot do what I want, and cannot seem to find any other commands that even concatenate a grouping of files together.
I have downloaded NETINSTALL disk from debian.org burned it and during installation it says that error and inst will not continued. This disk havent error replace disks and reburned them. On this computer debian 6 has been installed two weeks ago. "Running post-installation trigger fontconfig" on this stage i have fail.
I'm new in Selinux , and I want to label the URLs of the tabs of Chromium browser with label security . For example , If I want to access the sites of "[URL]" , then the tab will get the label SElinux "search_engine_t".
I have a Fedora 12 box with a fresh install. I use ktorrent to download something, eg a series, into my home folder. Now, as root, I move (not copy) the folder with the downloaded files to /var/www/html/bob so that when someone opens http://myserver/bob/ they see the list of folders and files I have placed there. I also chmod the whole folder to 755 and chown to root.root. The folder I have just moved there is not displayed. So to work around it (before I realised it was SELINUX) I created a new folder. Now the folder is visible. Good. So now I move the files into the new folder and delete the old one. The files are displayed ... good. But wait, there's more: you cannot access (download) the files, even though they are visible.
1. How do I VIEW what context is assigned to these files?
2. How do I correct the context so that http server can allow people to access them?
3. How do we get the SELINUX authors to consider re-labeling files when they are moved from one place to another so as not to cause this fault?
When booting, the grub menu appears and allows me to boot from the internal hard disk (sda) any OS there, such as WHEEZY (sda9). On the external disk (sdb) there is a dd'd copy (not an installation) of SQUEEZE (sdb1), which at one time was on sda but which has different partition assigments listed in its grub.cfg than the current ones shown below for sda.
Code:
Select allNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 111.8G 0 disk ├─sda1 8:1 0 23G 0 part ├─sda3 8:3 0 1K 0 part ├─sda5 8:5 0 3.9G 0 part [SWAP] ├─sda6 8:6 0 11.7G 0 part ├─sda7 8:7 0 19.5G 0 part /home/norman/data
[code]....
Can I manually boot the SQUEEZE copy on sdb1 using grub commands (set, linux, initrd, boot) without disturbing the WHEEZY and other OSs on sda? Or will they be disrupted?Alternatively if for example JESSIE is installed in sdb3, for example, can it be booted similarly without affecting the installations on sda? I hesitate to try this by trial and error because of the work and time involved in rebuilding messed-up OSs to their desired configurations.
I have installed a minimal system with openbox window decorator. (without any window manager) when i insert a flash disk to my computer, system doesn't mount it automaticly. i must mount it to a folder to use it.
I'm not sure how to do this. I checked the hard drive preferences and looked through the forums... I don't want to manually mount my hard drives(s) every time I boot up just to access my music and wallpapers.
Earlier today I installed Debian Squeeze with Gnome off the 64-bit CD 1. I didn't have my ethernet connected and ended up only getting a pretty minimal desktop with not much installed besides Gnome. This bothered me, as I thought I could install the whole desktop off the CD. I reinstalled, this time with my Ethernet connected. This time it took much more time and gave me what I wanted, a complete desktop. Simply put, what do I need to install everything that I currently have without having my Ethernet plugged in?
I am running Debian 3.2.0-0.bpo.2-amd64 on hyper-v, my / volume ran out of space and is sitting at 100%, I have extended the disk size on hyper-v, however when I go to Fdisk I see duplicates of each disk.
I have total of 2 vhds on the vm, so I see 4 disks under fdisk. Here is the output of fdisk
I'm trying to do some RAID managing with mdadm. I would like to sync my spare disk and then remove it from the array for making a backup out of it with dd command (the best way i can think of to get the current image of the whole system as it can't be done using the active RAID as source, because is constantly in use and changing). So, I have RAID1 array with 1 spare and 2 active disks (configuration listed below). Now I would like to force spare to sync and then remove it from array, although not faulty.
However, mdadm man page states: "Devices can only be removed from an array if they are not in active use. i.e. that must be spares or failed devices. To remove an active device, it must be marked as faulty first."
So, I'd have to mark a disk as faulty (which it is not) to be able to remove it from array. There seems to be several people reporting that they can't remove this faulty flag accidentally given to a drive. And mdadm does not give direct for such operation. Isn't there a way I could remove and add disks whenever feeling like it?? One way would be open the cover and physically remove the disk. I'm not taking the risk, though. System is almost always in use, so there is not much chance for me to power off for temporary disk removal.
RAID CONFIGURATION: ~# mdadm --detail /dev/md0 /dev/md0: Version : 00.90.03 Creation Time : Fri Aug 4 17:38:26 2006 Raid Level : raid1 Array Size : 238950720 (227.88 GiB 244.69 GB)
I have never seen this one before (see below) - note how /dev/sda1 is mounted from the first disk listed by fdisk, but /dev/sda2 comes from the second disk; what is going on here? This is what I did: I installed the latest debian "Testing", which went well - it found the disks in the order show by fdisk -l here. When it booted up after installation, it failed because it couldn't find /, which I repaired by editing the grub menu (I told it to start from the other disk), and it came up. But now I had to mount /u01 by hand from /dev/sda1; strange. I suppose I could just go and change the physical disks around, but I'd like to understand this. Any ideas?
Is there a command line tool to shut off/spin down the hard disk either when not in use or when something is typed into the console? I'm trying to save power in a laptop I have..
2. lsscsi output -I installed lsscsi and here is the output: Code: Select all# lsscsi --device [0:0:0:0] cd/dvd LITEON CD-ROM LTN485S JKF1 /dev/sr0 [2:0:0:0] disk HP Net Mirror V1.0 /dev/sda [2:2:0:0] disk HP 9.10GB C 80-P94N P94N - [2:2:1:0] disk HP 9.10GB C 80-P94N P94N -
[Code] ....
3. force scsi scan -I tried to use this command to force a rescan for the hdds, but nothing happened: Code: Select allecho "- - -" > /sys/class/scsi_host/host3/scan
-no errors, but log says nothing -tried the above with host0 - 4, same result
4. fdisk -l Code: Select all# fdisk -l
Disk /dev/sda: 9098 MB, 9098887168 bytes 255 heads, 63 sectors/track, 1106 cylinders, total 17771264 sectors Units = sectors of 1 * 512 = 512 bytes
[Code] ....
5. tried to specifically add one device but it didn't work: Code: Select all# echo "scsi add-single-device 2 2 8 0" > /proc/scsi/scsi -bash: /proc/scsi/scsi: No such file or directory
Alright, I have this issue on both SystemRescueCD and Debian Squeeze. I have an ASUS P5Q Turbo board that supports hardware RAID. If I configure an array and then start the Linux installer or boot the rescue CD, I get /dev/sda and /dev/sdb instead of an array. What gives? I need to start installing within the hour so I am desperate for an answer!