Debian Installation :: Creating A New Boot Partition - One Of My Disks In My Computer Crashed
May 11, 2011
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).
View 3 Replies
ADVERTISEMENT
Dec 29, 2010
When I updated Linux it crashed in the middle of the update. I think there was not enough disk space. I had a windows dual boot and tried to make the Linux partition larger but in doing that a crashed grub and can't use Linux or Windows. I tried super grub but it didn't work so I tried to fix the partitions with gparted live cd. It my disk just showed up as empty. I formatted it and re installed debian but it didn't work. I can see partitions but my computer won't boot.
View 1 Replies
View Related
Sep 1, 2011
I am writing this from a LiveDVD of 11.04. My machine, which is an Inspiron1501 with AMD64 dualcore crashed while running a working copy of 10.04LTS 32bit. At first Harddrived seemed unrecoverable, but not that may not be the case if I can mount it. HD is partitioned as 1 FAT which holds the OEM installer1 NTFS with a sub/ virtual NTFS (not as a file, but as a "partition", only readable from WinXX) 1 Linux Swap 1 Linux Extention 3 (I believe it is 3, as in EXT FS 3) Machine initially displayed:
Code:
[ 2.736258] Console: switching to colour frame buffer device 160x50
No init found. Try passing init= bootarg.
BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)_
After following some advice, I booted into Win and shutdown cleanly. Which has made the machine only say this on boot:
Code:
No init found. Try passing init= bootarg.
BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)_
Now, to make things a little more complicated, my home directory is encrypted. Could I just copy that over to a new install provided I can get it to mount?
View 3 Replies
View Related
Oct 14, 2010
I was upgrading from 10.04 to 10.10 and the computer completely froze and I restarted it thinking I would be able to restart the update where I left off (I'm new to ubuntu). However when I restart I can't get anywhere, if I boot normally the ubuntu screen comes up and then it stops with the computer name in the middle of the screen and thats it (can't do anything i can't get into shell via ctrl-alt-f1 etc..) if i use the recovery from the grub menu it loads a bunch of things then stops i can't type anything but I can switch using ctrl-alt-f1 and ctrl-alt-f7 but I don't see anything except:
under ctrl-alt-f1 the last line reads:
[2.711773] composite sync not supported
under ctrl-alt-f7: the last lines read
fsck from util-linux-ng 2.17.2
init: udevtrigger main process (421) terminated with status 1
[code]....
View 6 Replies
View Related
Jul 27, 2009
I have a brand new thinkpad X301 with 4GB of RAM and thinking of getting fedora 11 on it. The plan is to have it triple boot with vista/seven and hopefully OSx86. I am aware of the 4 primary partitions limit on an MBR disk. I was thinking of having a swap file instead of swap partition and not creating a boot partition as well. If I install the boot loader(GRUB?) on the root partition will I be able to boot it without any problems by using vista's boot loader?
Or Maybe I should install GRUB on the MBR and add all the other operating systems on it? Does anyone have any objections for not creating a swap partition or a boot partition? When comes to desktop environment I've been using KDE in the past, is there any major advantage of using Gnome over it? KDE seems to look really nice on fedora where Gnome is maybe more stable?
View 4 Replies
View Related
Oct 1, 2014
I'm creating a new debian virtual machine. As virtual disks are free, I want to use tree for my new machine. The scheme will be like this:
sda -> /boot
sdb -> /root
sdc -> swap
View 8 Replies
View Related
Apr 27, 2010
Ive decided to create a new thread because my old one had become rather complicated and now had a misleading title.
I have a laptop with Windows XP and because of a few programs I want to keep it on and dual boot with Ubuntu. I have created a boot partition at the beginning of the harddisk because I had broken the 137gb and cant keep Ubuntu at the end and still make it bootable.
The separate boot partition is at the beginning of the disk and mounted as /boot in the installation.
The system still cant boot into Ubuntu, but at least grub shows up with a decent menu and I can choose Windows. When I try to choose Ubuntu it says that it cant find the specific drive. The UUID is the same as the boot partition
So what should I do now ? Should I change fstab and move some files to the boot partition ? Id rather not move the entire Ubuntu partition to the front.
Here is my boot info script
Code:
Boot Info Summary:
sda1:
sda2:
View 4 Replies
View Related
Mar 31, 2010
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?
View 2 Replies
View Related
Dec 8, 2010
I have a desktop computer running Linux Mint 9 with the Gnome desktop (not sure what version -- though by default Mint 9 comes with Gnome 2.30). Last night I tried adding a panel to the desktop by right-clicking on the existing bottom panel and selecting "New Panel". Please note that I've already got another panel at the top of the desktop on the left side on autohide and no expand.
When I added another panel, it placed a normal panel on the right side of the screen without any problems. When I right-clicked on the new right-side panel and selected "Properties", I changed the orientation to "top" (where there was already a panel, if you remember). After that moment, it seemed like the entire desktop environment crashed. Everything was completely unresponsive -- the only thing moving on the screen was the mouse. I couldn't do anything with the gui, not even shut the computer down.
Since the gui shutdown wasn't working, I switched to a different tty screen, logged in, and ran a shutdown command with the option to reboot. The computer shut down fine, and when it woke back up, the same problem was still there: Nothing loaded on the screen except for the background image and the mouse, which was still able to move but nothing else. I have the computer set up to automatically log me in, so I know it's not crashing before the user prefs are being loaded...
After restarting it again and getting the same result, I switched to a different tty screen, logged in, and tried messing around with stuff to no avail. I did notice, however, that the computer was becoming evermore sluggish, and something printed on the screen stating that a program had been terminated because of "not enough memory". It seemed like some process was consuming WAY too much RAM by itself or a program was accidentally forkbombing the computer. ...All because I added a panel...?
View 2 Replies
View Related
Nov 9, 2010
I was upgrading from 10.04 to 10.10 when my laptop crashed due to a HW issue not related to upgrade. But now when I start:
1) The laptop, it boots up till the point GDM log in screen is displayed without any log-in option. The system does not respond to any keyboard or mouse actions.
2) when I try to recover (recovery mode), the boot process comes til a point where it says "Console: switching to color frame buffer device 180x56"
And the prompt just stays there. It does not not drop to terminal. When I choose an older option in the grub, I do get dropped to initramfs prompt. How to restore my machine. re-instillation is not an option as I have some data I need in the home directory.
View 4 Replies
View Related
May 1, 2011
I was updating Ubuntu 10.10 to 11.04 and my computer crashed/shutoff because of overheating(my laptop doesn't ever do this when running Windows 7 but seems to really need to be as cool as possible when running Ubuntu). the update was at about 12-18 minutes left(also i am using wubi to have it run alongside windows). After getting pissed off that i forgot to backup Ubuntu i restarted it to see if it would finish updating.
To my dismay it the loading screen looked a bit unusual and when it go to the login screen the word "Ubuntu" was flashing uncontrollably and the time in the bottom right corner was acting the same. i feel that i have totally ruined it and i also don't know how i can remove Ubuntu from my computer so that i could reinstall it as Ubuntu 11.04 instead of upgrading from 10.10. i still have Wubi.exe for Ubuntu 10.10 but i'm not sure if that just searches for the most recent version of Ubuntu.
View 1 Replies
View Related
Mar 27, 2010
i was install wine with the soft ware center when my computer crashed, now i cant uninstall it or cointinue the installation or unistall, when i do try to unistall i press the unistall icon nothing happens. when i go into the software center to try and reinstall it says waiting for other software managers to quit,
View 1 Replies
View Related
Sep 13, 2010
I just upgraded from Jaunty to Karmic, but once I loaded Karmic and rebooted, my computer will not complete the boot up sequence and go into any desktop. It starts the initial boot sequence with the mouse appearing and then goes to the screen that looks like it has an atom cloud. After that, the screen goes black and the mouse-arrow turns into that white rotating wheel, but it stays that way. It never actually goes into any type of operation! I tried to go from the command line and find Lucid to overlay it on Karmic and hopefully solve the problem. It just looks like to me that several of the packages I downloaded through my upgrade manager were corrupted. My computer doesn't even seem to be acknowledging my password because it gives me an error 32:must be authenticated.
View 7 Replies
View Related
May 8, 2010
So I attempted to Upgrade 2 days ago from 9.10 to 10.04. I started the upgrade and left my computer alone as it said it would take several hours. When I returned to check on it, It told me the the installation had failed and it was attempting to roll back to the previous installation. Afterward I couldn't access anything on my computer. I'd click a icon and it wouldn't do anything. I manually restarted it and was greeted with a message that it couldn't boot because there was no mount specified.
Since I had backed up all my files I tried to just reinstall ubuntu. However even after I reinstalled I'm greeted with the same message.
View 1 Replies
View Related
May 11, 2015
I didn't change anything; it just stopped working on boot. I've changed permissions according to messages from log files. No good.I now get messages saying "unable to open display ' '." If I set the display (I've done this several ways, the messages say "unable to open display ':0'."
Systemd is taking control of everything basic, with almost no documentation and no configuration tools at all: rationalization by lunatics.You can make a script to run commands on boot using systemd on Jessie by creating two files: the script, in any location a file in /etc/systemd/system that runs that script..My script is called james-boot.service, placed in my /home/james/.bin directory.
#! /bin/sh
# this is run by /etc/systemd/system/james-boot.service
# Enable with sudo systemctl enable james-boot.service
# Check with sudo systemctl status james-boot.service
# If it says the service is loaded, it's OK -- inactive only means it's done running.
[code]....
This file must have ownership root.root, with (apparently) permissions 664 (rw-rw-r--).After creating, enable with sudo systemctl enable james-boot. service.Check with sudo systemctl status james-boot.service. If it says the service is loaded, it's OK -- "inactive" only means it's done running.
View 4 Replies
View Related
May 5, 2011
I burned my liveCD very slowly and checked it for integrity. It works fine on, for example, my dell inspiron 1012 netbook.
I am able to create the partitions etc and am shooting for a win7 dual boot. Don't want wubi or the like.
I am unable to boot the liveCD or even install the OS as it hangs on clicking "Try" and the install hangs on "Creating ext4 fs on / "
Also the 11.04 CD seems to have a lot of issues based on my browsing the top few pages of the forum.
View 4 Replies
View Related
Aug 1, 2011
I just installed Ubuntu server edition to my computer (brand new, no OS) and finished installation. In the terminal I used apt-get ubuntu-desktop to install a desktop interface.In my rig, I have two 500GB HDDs. I set them up through my computer BIOS as RAID1 drives, yet as I understand I still need to configure the Ubuntu software raid for it to work correctly. Unfortunately, I already partitioned my drives! I used the easy way (guided with LVM or whatever) and let it do it for me. Now, RAID1 is very important to me! Is there anyway to repartition the disks to use RAID1, or do I need to wipe my computer and reinstall Ubuntu?
View 5 Replies
View Related
Mar 9, 2010
is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?
View 4 Replies
View Related
May 25, 2010
I'm running UbuntuStudio 9.10 on my Toshiba Satellite A40 Laptop... it's perfect and I love it... but, I installed it cleanly doing a reformat of the drive, and with no partition - so using as much of the newly replaced 80gb drive as possible.Now, if I want to create a partition to install WinXP as a dual boot, 1) can this be done? 2) what do I use to do it?
View 9 Replies
View Related
Aug 7, 2010
So I installed Wubi with Ubuntu 10.04 and chose the standard partition size (8GB?) and now I am running out of disc space. How do I resize this partition?
This guide didn't help: [url]
How do I resize the virtual disks? The download link doesn't work and LVPM doesn't support 10.04.
Any other options or do I need to re-install the whole Wubi?
View 2 Replies
View Related
Nov 8, 2010
I bought an 1tb hard disk today and cloned my old 160gb ubuntu install to the new disk using gddrescue (from this tutorial [URL]) and everything worked fine. The problem is that I can't resize my home partition to fill the rest of the disk. I've tried using a live-cd and booting from my 160gb hard disk but I still can't resize the partition.
Here's the "sudo fdisk -l" output:
Quote:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
[Code]......
View 2 Replies
View Related
Aug 2, 2010
I have two hard drives in my desktop. One HD has a working Ubuntu system-hence the ability to post here- and the other contains Windows XP Pro. When the XP drive crashed I was able to re-install an image I had saved using Acronis. Unfortunately the dual-boot option at startup is no longer available. I can only boot to Ubuntu. Not so bad really but there are some programs on Windows that I need to use. Is there any way, using Grub perhaps, that I can reconfigure an MBR to include the second hard drive and the Windows system?
View 1 Replies
View Related
Jul 3, 2011
Currently my system runs on two disks, sda 30GB and sdc 1GB. sdb is my data disk. I have set the partitions as sda1 /boot, sda2 /(root) and sdc1 /(swap).
Thinking that sdc was udma33 i used the disk for a swap area. Later i found out that it is pio4 and i want to relocate my swap area to sda.
Using GParted Live i am planning to create a swap partition to sda. Will fixing the entry in fstab be enough to correct this or do i need to do something more?
I could also use some advice on which live debian image i can install in sdc, to use for rescuing purposes. The capacity of the disk is 1080MB.
As a side note, the images i find for usd-hdd are direct download. Are there any torrent files for these?
View 2 Replies
View Related
Aug 30, 2014
I recently installed Debian 7 on a dual boot with Windows Vista. Thus, when I boot the computer, I am prompted by a GRUB screen to select Windows Vista loader, Debian, and Debian (recovery mode). I would like to upgrade Windows Vista to Windows 7. Will this cause an issue with GRUB? Will a Windows 7 loader be added to the list or will a Windows 7 loader replace the Windows Vista loader? Will there have to be a setting change within Debian? Within Windows?
View 6 Replies
View Related
Jun 21, 2011
I installed F15 a couple days ago without much difficulty (and upgraded the kernel to the most recent, along with all the accompanying applications). However, I wanted to enhance my experience with the terminals, etc. So, today, I installed a gnome-3 advanced tweak or something along those lines (I forget the exact name already). This is software that is supposed to allow us to specify user-defined shells (not active yet), modify the terminal bars, etc. After installation, a menu bar came up, which allowed me to run the application. I ran it and it crashed.
Then I went to the applications section and started that job again and the whole system just froze, showing just a rotating wheel (as if a process is in progress). Nothing worked. So, I manually shut the system down and turned it back on again; and all I saw was that turning wheel and a small half-inch by half-inch square box (with just noisy colors). I then inserted my F15 installation DVD (the same DVD I used to install my OS), and started the machine; and the response is exactly the same as before: just that turning wheel with the noisy small square box. When I move my mouse around the wheel moves about in response. But, the system is just frozen.
View 2 Replies
View Related
Jun 1, 2011
I have a laptop set up for dual-boot with Ubuntu and Win7. I also have a shared partition which I mounted as the /home directory in Ubuntu. The problem occurred as I was upgrading Ubuntu from 10.10 to 11.04. In the middle of the install, my computer froze for some reason and ultimately I had to shut the computer off and restart. When I restarted the linux would freeze half-way through boot-up with a message saying that the drive was mounted. Before the message saying the drive is not mounted it gave the following error: Can not read 'etc/udev_rule.d/z80_user.rules'
When I boot up Win7 it is unable to mount the shared partition and says that the drive is not formatted. I am also unable to run the ubuntu recovery option from GRUB. It asks me to give the "root password for maintenance," but it won't accept my root password. Would the upgrade have wiped my partition??? Or am I just locked out somehow because it was in the process of changing config files?
View 6 Replies
View Related
Jul 10, 2015
I have a problem trying to create an encrypted LUKS partition on a USB pen drive, but I don't know whether it is a hardware or software issue.
I just installed debian on this laptop with non-free packages:
Code: Select allroot@debianpc:~# uname -a
Linux debianpc 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
Then just to learn cryptsetup I thought it was safer playing with a partition on an old usb pen drive. But when I try the command:
Code: Select allcryptsetup -v --debug --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 3000 --use-urandom --verify-passphrase luksFormat /dev/sdb2
I get the usual message (Are you sure? ...), I type yes then it fails with code 22:
Code: Select all# cryptsetup 1.6.6 processing "cryptsetup -v --debug --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 3000 --use-urandom --verify-passphrase luksFormat /dev/sdb2"
# Running command luksFormat.
# Locking memory.
# Installing SIGINT/SIGTERM handler.
# Unblocking interruption on signal.
WARNING!
========
This will overwrite data on /dev/sdb2 irrevocably.
Are you sure? (Type uppercase yes): yes
# Unlocking memory.
Command failed with code 22: Invalid argument
I had /var/log/messages open in tail on another terminal, but no message appeared. I tried the same command deleting one by one the parameters, but I got the same behaviour, so I don't think it is a parameter problem.
View 1 Replies
View Related
Jun 19, 2012
I am new to Debian but have some basic experience with Linux and am currently trying to triple boot Windows 7, Fedora 16, and Debian on an HP Pavilion dv7. I have the Windows Boot Loader on my MBR because I've heard that Windows updates can cause boot issues if GRUB is installed there. This means that I've been installing GRUB in the /boot partition for each Linux distro and creating corresponding entries in the Windows boot menu.
This has worked in the past with both Fedora and Ubuntu, but I have not been able to work around it with Debian. When I choose my Debian option in the Windows boot loader, it loads GRUB but hangs after it prints "Welcome to GRUB!", and I have to restart the computer. I would like to hear what more experienced Linux users have to say both about why this isn't working for Debian and about if keeping the WIndows boot loader is the right way to go.
Also, here is my partition layout:
Partition 1: SYSTEM (HP pre-installed) (209 MB)
Partition 2: Windows Partition (472 GB)
Partition 3: Extended (160 GB)
1: /boot for Fedora (524 MB)
2: Physical Volume for other Fedora partitions (79 GB)
3: /boot for Debian (749 MB)
4: Physical Volume for other Debian partitions (80 GB)
118 GB free space
Partition 4: HP_TOOLS (HP pre-installed) (108 MB)
View 14 Replies
View Related
Apr 29, 2010
To install ubuntu 10.04, I've tried to create partitions on my hard drive, and an external hard drive. Both have failed. I have apparently exceeded the max number of partitions on my hard drive (came with 4 on it. Recovery, OS, and 2 others I don't want to mess with.), and the external hard drive won't let me shrink the NTFS volume to create space for a new partition. Can I get steps to create a new partition, preferably on the external drive (it has more space). My computer is a dell inspiron 1525 with a 225 Gb hard drive, And my external drive is a windows system Seagate 1 Tb Hard drive (I've checked, external drive works with ubuntu).
View 9 Replies
View Related
Jul 15, 2010
I have just downloaded version 10.04 for my laptop as the previous version (9.?) stopped the internal fan from working. As it was installing the laptop got too hot and turned itself off. I have tryed to reboot but it won't.
View 4 Replies
View Related