General :: Make System Partition Letter / Number Designations Persistent?
Aug 15, 2010
Everyone who deals with Linux knows that partitions on hard drives are designated as "sdx#", i.e., sda1 sdb2, etc. I know through experimentation that the number portion of the designation is assigned not according to order on the disk, but chronologically in the order they are created.
Further, if you have several partitions on the disk-say, sda1 through sda3-and you delete sda2, the designation of sda1 will remain the same, but sda3 will become the new sda2. The creation of any further partitions on the drive will start with designation sda3 and increment from that point.
At times this creates a conundrum, especially concerning bootable partitions. Some time back I rendered a partition containing OpenSUSE unbootable because of this, even though Ubuntu owned the GRUB bootloader in the MBR. Ubuntu's GRUB could find and point to the partition using the command "sudo update-grub", but when OpenSUSE took over the boot-up process, its GRUB was pointed to the wrong partition and would freeze up.
My question is this:
Under Windows, one is able to make a Drive letter persistent. Windows will keep the drive letter for that partition and assign around it. Is there a way to change a drive designation number, or at least make it persistent, under Linux? It would be a handy method to forestall these types of booting problems, among other things.
Presently, when a person has installed Linux side-by-side with Windows and want to delete the Windows partition and expand the Linux partition into the free space, I will tell them to format the partition, then shrink it to next to nothing instead of deleting it. This preserves the partition ID scheme while giving them the space to expand their Linux partition into...especially helpful with a seasoned Linux installation that would be a PITA to reinstall and set back up.
Oh, and I already know about UUID. This article explains it, but if you look down through the comments, you will see reasons that it is problematic for desktop application and usage. I want to make it as simple as possible for new Linux users (and myself! ).
View 4 Replies
ADVERTISEMENT
Feb 4, 2010
I am new to Linux ,i did one project in windows which will block the thumb drive with respect to serial number(Device instance ID) of the device.i am planning to do the same project in Linux using c/c++.I am very new to Linux,there is no drive letter for thumb drives we insert into Linux OS.How to get Drive letter and how to get Device instance id of thumb drives please help me get some clues.please provide me any tutorial or any links .w if have any other clues to block devices with respect "block list" and "allow device list".if the serial number in block list it has to block if serial number in allow device list it has to allow thumb drive to access.
View 3 Replies
View Related
Oct 12, 2010
i need to calculate the number of words containing letter e in a textfile.
View 9 Replies
View Related
Feb 11, 2010
Not sure why this won't work, any thoughts?echo enter the letter A or the letter B
read letter
if["$letter" = "A"]; then
echo "coolit's an A"
[code]....
View 1 Replies
View Related
Mar 24, 2010
I installed Slitaz on my USB. However I can't figure out how to make it persistent automatically. There are different sources telling me different ways to make it persistent.
One told me to add "slitaz home=usb" to the syslinux.cfg file like this:
append initrd=/boot/rootfs.gz rw root=/dev/null vga=normal autologin slitaz home=usb
but it didn't work for me.
http://www.slitaz.org/en/doc/handbook/liveusb.html gave an example of how to do it manually but I didn't try it and I also want it to happen automatically.
custompc.co.uk/features/602451/make-any-pc-your-own-with-linux-on-a-usb-key.html is an older article that also explains how to make the USB persistent but I don't want to try it cause it looks outdated (from 2008)
does anyone know the best way to make the USB automatically persistent?
View 1 Replies
View Related
Oct 16, 2010
Just started using the above distro - anyone know how to make persistent saves to a USB device?
View 5 Replies
View Related
May 27, 2010
Since 2 days, when I type the lowercase 'a' letter in a terminal, nothing is written (it's not the case for the uppercase 'A' letter).
The matter appears with all terminal's software (guake, Terminal, xterm...).
The only way for me to type the 'a' letter is to type 'Insert' key before.
I tried many solutions but the matter is still here.
Here, there is some clarifications and some solutions I tried:
-If I copy and paste a text, 'a' don't appears. For example, if i try to copy and paste
'sudo apt-get install'
'sudo pt-get instll' will appears
-The matter appears 2 days ago. Before that, I removed the .gconf file
-It's not a fresh installation of ubuntu but an update from karmic to lucid. When i was under karmic, I was using KDE. Then I did an upgrade, then I tried Xubuntu and Lubuntu and finally I moved to Ubuntu. The first week under Ubuntu (Gnome) was without any matter and 2 days ago, this matter appeared.
-I tried this following command line:
xmodmap -pke >fichier.conf
and the file called "fichier.conf" (I'm french) contains this line:
keycode 24 = a A a A ae AE ae AE
-When I type this line:
printf "x61
"
a 'a' appears in my terminal.
-In tty1 and all the other programs, 'a' appears without any trouble
-I tried with other users in my computer but the matter is still the same no matter wich user I use.
-I tried to change fonts of my environment and I also tried to change fonts only for the terminal but whithout success.
-I tried to change the layout of my keyboard.
View 1 Replies
View Related
Mar 17, 2010
I have VNC set up on my server - connecting is fine - however there is no way to log out from the actual session over VNC (can only disconnect the VNC session itself). What I'd like to be able to do is logout and be presented with the login screen - is this possible ?
View 2 Replies
View Related
Aug 29, 2010
I am playing with grub and i change the root using:
How can i know what's x for /dev/sda7 ?
The problem is that in Gparted view, the order is not like sda5, sda6, sda7, ...but the order is like:
So what's x for /dev/sda7 ?
View 2 Replies
View Related
Jul 1, 2010
Can someone explain how to determine the number of blocks to determine the number of cylinders for a new partition on hard drive.
Why is block size divided by 1024?
I think I understand unit size is the total bytes per cylinder, I get that. I understand the anatomy of the hard drive (i.e. heads, sectors, cylinders.
My problem is, if I need to calculate the number of cylinders needed for let's say a 20G partition on a 120G drive.
View 1 Replies
View Related
Sep 11, 2009
I'd just like to know the max number of logical partitions an extended partition can hold. Is that number different for IDE and SCSI hard drives?
View 11 Replies
View Related
May 8, 2011
I followed the instructions at [URL] but whenever I boot with the "persistent" option, the Ubuntu splash screen will take forever to boot, and It's not reading the CD! How do I fix this? By the way, I'm booting 10.10.
View 1 Replies
View Related
Jan 10, 2011
I am running a live (4gb) USB of Fedora_14 with 768mb persistent storage. I am trying to add firmware for broadcom wireless link, as it is not natively supported. When I download tar, extract and copy missing firmware then reboot... all changes are reverted back. How do I make these changes persistent upon reboot.
View 8 Replies
View Related
Jul 14, 2011
How can the number of inodes be increased on an existing EXT3 or EXT4 partition without re-creating the partition?
View 3 Replies
View Related
Sep 4, 2009
I just did a fresh install of Fedora 11 and the only video resolutions available were 640x480 and 800x600.
The native resolution of the monitor is 1280x1024 and that's what I'd like to use.
I was able to get the display to the proper resolution with the following commands:
Code:
However, rebooting sets it back to 800x600. I have seen the edits to xorg.conf but that file wasn't created.
Is there a way to make the 1280x1028 resolution persistent without creating a xorg.conf file?
View 8 Replies
View Related
Mar 10, 2010
i has setup a persistent DNS cache to improve my web-browsing. it works wonders and with my ICC built firefox my web-browsing is laser-fast, pretty much like using internet explorer in windows! however, everytime i reboot, my modifications to /etc/resolv.conf have been replaced... 1st. the file must contain:
# Generated by NetworkManager (obviously modified by this)
nameserver 127.0.0.1 <----this is lost on reboot, and is needed to make it all work
nameserver 209.226.175.223
nameserver 198.235.216.134
i have tried to add this to - System/administration/network, but it doesn't seem to fix the problem. 2nd. my next problem is that when fedora 12 starts up,i need it to start "dnsmasq".i have tried to add it as a startup application, but it doesn't start automatically.so i end up having to start it manually everytime:
sudo /etc/init.d/dnsmasq start
it is annoying, but so far i just deal with it, because my browsing is that much faster! i am planning to post a tutorial for those interested in faster web-browsing in linux, but until i can make the changes perminent there isn't much point.
PS: i have tried to write a shell script to do this and every which way i try it fails
View 8 Replies
View Related
Aug 26, 2010
I've noticed that every time this desktop is turned on the date & time are as they were the last time I used it, and then have to put in the correct date & time again (this is why I chose the word 'persistent' within the tittle). When I try to change those have to write in the password for the date as well as for the time as if 'login-in' once were not enough! What I want to know is how to put in the date & time and receive the correct amounts the next time I turn the unit on again, as it should be? Do I've to open a terminal & do it with administrator's authority/credentials?
View 3 Replies
View Related
Feb 18, 2011
Currently got a 32bit laptop and im running Ubuntu desktop 10.10 with the 32 bit version, If I upgrading my machine would i need to make a new persistent live usb for the 64 bit machine?
View 3 Replies
View Related
Jun 11, 2010
I would like to have the below lines loaded at bootup and anytime the network is restarted (if possible).
Code:
I am using SuSE 11.
View 1 Replies
View Related
May 12, 2010
I have a crappy cat5 cable that only works at 10BaseT settings on any nic. I have a gigabit nic which I configure using;Quote:ethtool -s eth2 speed 10 autoneg offProblem is that this setting doesn't stick after a reboot. How do I make the change permanent?
View 4 Replies
View Related
Jul 6, 2010
ubuntu is capping my wireless connection at 1Mbps, so everytime I boot up i have to type this:
"iwconfig wlan0 rts 2347 && sudo iwconfig wlan0 frag 2346 && sudo iwconfig wlan0 rate 9MB"
How can I make these settings persistent?
View 2 Replies
View Related
Oct 1, 2010
I have enjoyed setting up a live USB stick to boot Ubuntu from and it works very well but I can't make my settings persistent. The option to do that in Startup Disk Creator is greyed out, the Stored in Reserved Extra Space is just not available.
View 2 Replies
View Related
Mar 8, 2011
My system boots in 1024x768 screen resolution. I'd like to change it to 1280x1024 for all users. I can change the setting to 1280x1024 and it's persistent between sessions, but is reset back to 1024x768 on reboot. In the old days, I used to edit xorg.conf to set the the mode I want, but now there's no xorg.conf. I created one using
xorg -configure
but this created an xorg.conf which has no modeline settings at all. The file just looks like a template. Here's what I got:
Quote:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
[Code].....
View 1 Replies
View Related
Apr 27, 2011
I have one computer with windows and one with ubuntu. I have an external drive (FAT32) with files taken from an NTFS (mp3s and such) and I would like to put them and use them on an ext4 ubuntu platform. Can I make a partition of the /home folder NTFS and the system ext4 and function properly? I do have configuration files in the /home folder since Im building a domain controller that utilizes samba on ubuntu: would I be better off using a dual boot with windows/ubuntu and placing the files on the Windows partition? what is my best option?>
View 9 Replies
View Related
Jan 4, 2011
I've read and read & am still no smarter. I've tried to make a persistent partition(one that mounts whenever I boot/login). Either I don't have the right file or syntax, I've given up and need help. Please tell me exactly which file to edit and the proper syntax to put there. The partition on my machine I want to do this for is "sdb2" uuid "02f5852a-c3e2-47e8-b1dd-93592f1f87ee" label "archives"
View 5 Replies
View Related
Feb 18, 2011
I have created live persistent usb-hdd (fat32) image, put into USB stick, but now I should create persistent live-rw partition. How this persistent partition should be formatted? Should I format with ext2, or fat32?
View 1 Replies
View Related
Nov 9, 2015
I want to customise an amnesic Debian environment (like Kali Live CD) with everything (Users, background, icons, etc.) set up to work the way I need. This OS should be inside a memory stick, and, most important, it has to have an encrypted partition I can mount and unmount whenever I want to save persistent data.
View 5 Replies
View Related
Feb 3, 2011
I have Lenny installed. How to create, using live-helper customized Live USB with a persistent /home partition on this USB stick, to save changes between boots?
View 6 Replies
View Related
May 19, 2010
If you create a file on UNIX/linux with special chars, like touch "la*, you can't remove it with rm "la*. You have to use the inode number(you can if you add the before the name, I know, but you'd have to guess as a user that it was used in the file creation).
I checked the manpage for rm, but there's no metion of the inode number. Doing rm inodenumber doesn't work either.
What is the command for this?
View 4 Replies
View Related
Feb 18, 2010
What is the user account number when you create a root user account for the system during the installation of any linux distribution? I'm not sure if its 0, 1, 10, or 100..
View 2 Replies
View Related