Debian :: Jessie-grub On Root Partition

Feb 7, 2016

i use a 3rd party boot mgr.i installed jessie over etch on my old computer & only choice i saw for grub was sda & sdb where i wanted to install on sdb9.i tried installing it from my wheezy partition & it did but i ended up with 2 boots to wheezy.so i went back to etch.

my question is how to get grub on sdb9 like it was on etch.is there a trick or did i miss a prompt? on another note, that bug where the format hangs if you try & install over an old system is a little irritating. can't believe it hasn't been fixed.

View 4 Replies


ADVERTISEMENT

Debian :: Rolling Grub2 Back To Grub On Jessie (8)

Sep 2, 2015

I'm trying to run 'grub-install /dev/sda', it stays stuck on 'Searching for GRUB installation directory ... found: /boot/grub' after leaving it for an hour, nothing happens. I have tried removing all Grub related packages and installing grub-legacy several times, to no avail.

The machine is quite an old one and is an offline sandbox for a friends kid who likes to tinker with older OSes. The hard disk has failed in it so I have donated an old drive to get the machine back up and running for him, as the menu.lst is a lot easier to modify than the newer grub.cfg, he would like the older grub back.

I've done a few searches particular for Debian 8, but the closest I can find is for Ubuntu here, [URL] ....

I have tried to use both the grub rescue disk and the command line listed in the link above.

View 2 Replies View Related

Debian Installation :: Broken Grub After Wheezy To Jessie Upgrade

Jun 2, 2015

I've changed my /etc/apt/sources.lst file to use "jessie" repositories instead of "wheezy". I then ran synaptic and updated everything (there were loads of packages, something like 2000 to update).

After this I rebooted. The grub menu shows as usual with the background image I'd set and the operating systems as usual (including Windows 7) however there is no longer a 5 second countdown and when I select *any* menu option, it asks for a username and password.

I don't know what username and password it's asking for as I never used to have one set!!! I did have a username and password set up so that if you wanted to edit a grub menu option so I tried that but to no avail.

I'm using MBR/BIOS not EFI.

View 3 Replies View Related

Debian Installation :: Jessie RC1 Installer Hangs On Formatting Partition

Mar 21, 2015

Tried to install Jessie RC1,but installer hangs on formatting the partition,at 33%.

View 7 Replies View Related

Debian Installation :: Jessie Installer Cannot See Existing Linux Partition

Jan 12, 2016

I have an issue with Gparted v0.19.0 (Jessie) which has replaced v0.12.1 (Wheezy) which works fine. I had hoped to ask this question in Gparted's own forum, but after three weeks and multiple attempts no-one has approved my account there.

Unfortunately, my existing partition structure (on two different laptops) seems to be invisible to the new version of Gparted. Since parted seems to be used by the Debian installer, the Jessie installer cannot install on these machines without repartitioning the entire disk. That means that on such machines, the only option is to wipe everything or install Wheezy, then edit sources.list to upgrade to Jessie.

Both Gparted v0.19.0 and the Jessie installer report the entire hard disk as a single Fat16 partition,The same partitions which are invisible to Gparted appear as normal in the Places sidebar, of either Thunar or the PCManFM file manager. They can be mounted and used, seemingly without issue (I have experienced the same problem under Ubuntu/Lubuntu 15.10). Below, is the shell output of fdisk, which can see the partition structure and parted, which cannot:

Code: Select all$ sudo fdisk -lu

Disk /dev/sda: 74.5 GiB, 80026361856 bytes, 156301488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

[code]...

View 6 Replies View Related

Debian Installation :: Systemd - Automount Windows Partition / USB Devices In Jessie

May 11, 2015

There seems to be no documentation on how to automount partitions and USB devices under systemd in Jessie. (Overall, systemd entirely lacks any useful documentation or GUI configuration tools -- all very cryptic and hidden.)

I created custom files to enable automounting. I put them in /etc/systemd/system -- this may not be the right place, but it works.

Kernel note:
This does not work under the old Wheezy kernel linux-image-3.2.0-4.

To automount my Windows partition so I can access its files, I created:
/etc/systemd/system/media-windows.mount

The name of the file must match the mount point -- in this case, /media/windows

My file notes the device and file type, plus an fmask option so all the Windows files don't seem to be executable:

[Unit]
Description = windows mount to /media/windows
[Mount]
What=/dev/sda1
Where=/media/windows
Type=ntfs-3g
Options=fmask=111
[Install]
WantedBy=multi-user.target

The file ownership must be root.root. Apparently it doesn't need to be executable.

After creating, enable with:

sudo systemctl enable media-windows.mount

and it will mount on the next boot.

I read elsewhere that the before running the enable command you should run a start command:

sudo systemctl start media-windows.mount

but that didn't work for me.

View 2 Replies View Related

Debian Configuration :: Jessie (Stable) 8.4 Update Unknown Partition Table Message

Apr 17, 2016

I update Jessie "stable" 8.2 to 8.4 and now I get 5 minute interval kernel messages:

Apr 18 06:39:52 OraHost kernel: [131985.494726] sdc: unknown partition table
Apr 18 06:45:03 OraHost kernel: [132295.755942] sdc: unknown partition table
Apr 18 06:50:03 OraHost kernel: [132595.946564] sdc: unknown partition table
Apr 18 06:55:13 OraHost kernel: [132906.139327] sdc: unknown partition table
Apr 18 07:00:23 OraHost kernel: [133216.340555] sdc: unknown partition table

I believe this has something to do with an mdadm update which was included in the release. When I configured the array, I didn't partition the disk devices, so maybe that has something to do with it. I am thinking of rebuilding the array and partitioning prior to build, but a quick fix would be referable.

And also something appears to have happened to the raid device since the update.

Prior to update, the array was /dev/md0 - now it is /dev/md/0 which is a symbolic link back to /dev/md0.

mdadm --detail --scan now reports /dev/md/0 where previously it reported /dev/md0

I created a new RAID1 array on a fresh system and immediately after the create, these messages appear at 5 minute intervals.

View 0 Replies View Related

Ubuntu :: 10.04 LTS - Installing Grub On Root Partition?

Jul 28, 2010

I want to install grub on the ubuntu root partition because I have another boot loader (boot-us). But when I reach : device for boot loader installation and set the device to the root partition (/dev/sda3) the OK button is not highlighted, I can use the windows partitions but not ubuntu root partition, what goes wrong?

View 3 Replies View Related

General :: Fix Grub After Moving Root Partition?

May 15, 2010

Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here:[URL]31So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. But now when I try to boot, I get my old grub menu but after selecting my kernel version it hangs

View 15 Replies View Related

CentOS 5 :: Write Grub Into A Root Partition Instead Of MBR

Aug 29, 2011

Howto write Grub into a root partition instead of MBR on Centos 5.6 using CentOS-5.6-i386-LiveCD?

View 1 Replies View Related

OpenSUSE Install :: 11.3 Grub Bootproblem MRB Vs Root Partition

Jul 22, 2010

First upgrade to 11.3 no problem. Then I got a disk issue. so got an old 80 gig sata drive, config new partition table, format etc. Install perfect as ever.

Then grub failed ....no grub menue.

I changed to MRB boot. this worked but initrd takes a long time and sometime hangs ?!? What could be the issue ? Harddrive?!

View 5 Replies View Related

Fedora :: Root User - Edit A Grub File In A Separate Partition

Nov 27, 2010

So I need to become the root user in order to edit a grub file in a seperate partition, so I can get back into this partition. How can I become and stay as root user in the desktop environment? (I know you shouldn't do this, but I need it.)

View 10 Replies View Related

Ubuntu Installation :: Configure GRUB For A Union Root Partition (aufs)

Apr 7, 2010

As recommended, I'm creating a new thread for my configuring GRUB problems commented first hereWe are setting up a new version of a custom system, we are migrating to Ubuntu Karmic from another distribution (Slackware). Besides small differences between these systems (most of them from the most recent versions of software used by the latest Ubuntu, such as GRUB 2), it has been decided that the new system will run an union root partition using aufs and tempfs, basically, we are following the steps provided heree install the system to a new hard drive from an already running Ubuntu Karmic system, usingdebootstrap/chroot, we move the disk to another sytem, so we have to correct disk references, we are able to run this system and it behaves correctly the first time it boots, it bypasses the GRUB menu since there are no other systems detected. However, after halting the system and booting it, the GRUB menu appears with a new "recovery" option, we've managed to remove this recovery option usingGRUB_DISABLE_LINUX_RECOVERY=trueBut then, the GRUB menu appears again, this time with only one option to boot: our system installation. But when this GRUB menu appears, it has no default timeout and so it stays forever unless ENTER is pressed to boot into the selected entry.

The main problem is that we are unable to configure GRUB inside the new installation because it always returns this message:grub-probe error cannot find a device for /If we boot the system "normally" (mounting root to a normal partition), we are able to configure GRUB properly, but it does not behave the same when using the union file system as /We are only looking for a way to bypass the GRUB menu and boot our system, do you have any advice on how to properly configure the GRUB menu for our system

View 3 Replies View Related

Debian :: Jessie 8 Update - Boot Grub Shows Now 2 Kernel Versions To Boot From

May 2, 2015

After some updates Jessie 8 my boot grub shows now 2 kernel versions to boot from.

3.16.0-4-amd64
3.16-3-amd64

- How do I know which one is the newest and if happy with it, how to remove the older one?

View 9 Replies View Related

Debian :: Root Partition Full But It Is Not?

May 18, 2015

Got problems with apt. So I discovered if I remove some stuff from root partition apt works normally again.

So I tested to copy 1GB file to root, but in the middle says disk is full, but there should be 1.8GB free if I type df -h.

Code:
Select alldf -h
Filesystem      Size  Used Avail Use% Mounted on
rootfs          4.0G  2.2G  1.8G  56% /
tmpfs            10M  4.0K   10M   1% /dev
/dev/md0        4.0G  2.2G  1.8G  56% /
tmpfs           492M     0  492M   0% /dev/shm

[Code] ...

View 12 Replies View Related

Debian :: Root Partition Filling Up

Dec 22, 2015

I'm booting to Kali 2.0 live from USB and wanted to add persistence, but I can't get OpenVAS setup. The setup script runs and eventually fails due to no more disk space. Here's my df -h output:

Here's gparted:

When the setup runs it fills up root (/) which is only 872mb. This is a 16gb USB so I'm wondering if there's a way to allocate some of the 11gb of unallocated space to root? I couldn't tell how to do this with gparted, would I need to build a custom Kali iso or something with different partitioning?

View 5 Replies View Related

Debian Installation :: How To Get UUID For Root In Grub CFG

Mar 15, 2015

I am running Wheezy as my main OS in the first drive in my desktop. I use the 2nd drive for data. I am trying to add another OS to multiboot. When I ran grub-update in Wheezy, I am getting device letter for the root device instead of UUID in grub.cfg, in the os-prober section. Like this

Code: Select allsearch --no-floppy --fs-uuid --set=root 6ee49a8e-a619-49c7-9f66-51a5ca9a48cc
   linux /boot/vmlinuz-316-x86_64 root=/dev/sdb3
   initrd /boot/initramfs-316-x86_64.img

In the same file, UUID was used for the existing kernels.

Code: Select alllinux   /boot/vmlinuz-3.2.0-4-686-pae root=UUID=c2eecf02-d427-4f2e-9fd0-9db61256cbac ro  quiet
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-3.2.0-4-686-pae

How can I get UUID instead of /dev/sdb3 for the 2nd OS?

View 3 Replies View Related

Debian :: Is It Safe To Grow Root Partition?

Jan 26, 2010

i want to ask is it safe to ad more space to my root partition with gparted ?I ask friends and they all told me if i change the root partition is possible to have problems to start my Debian.

View 5 Replies View Related

Debian :: Mounting Other Partition And Editing As Root?

Jan 22, 2011

I have Linux Mint (LMDE) on another partition and I guess I need to do some 'fixing' so I need to mount the partition. I can't, though, not by just clicking the partition (obviously?). I assume this is because I need root access to mount it.

how I can do this?:

1) CLI - mount via CLI by mounting at some point - for e.g., mine is /dev/sda3 so mount as ?

2) Use an 'editor' or file manager - such as Dolphin - how would I do this?

3) Use a Live CD/DVD - I think this way is unnecessary but it's a way, right?

Anything I missed? I guess gparted could mount it?

Which method would you use?

I think one could ssh into it but I'm not able to do that yet.

I need to exit the xorg.conf file which is recently really messed up.

View 3 Replies View Related

Debian :: Root Partition Full Already Resize?

May 18, 2010

I recently installed Lenny and used the "Guided - Use Entire Disk" option.I made separate partitions for root, /etc, /var, /home, /usr and swap.I trusted that the auto partitioner would choose sensible sizes but possibly that was a bad move, root is only 340Mb and is full.

View 8 Replies View Related

General :: RAID At Root Partition In Debian ?

Feb 11, 2010

The RAID level 1 interested me because of its redundancy in both drives. And I successfully made it in a couple of partitions. But, I always did it after Linux installation. Then, I create both partitions, use 'mdadm' to create raidtab and RAID device (md0, for example) and then I format the RAID device with 'mkfs' and mount it.

Until there, it's all OK.

But my problem is to mirror ALL the hard disk, inclusive root partition. To do that, I guess I need no Linux installation, then create the RAID (md0, raidtab, etc) and after that install Linux in RAID device created.

But I'm new in Linux world and I have no idea how to do that.

I use Debian Lenny, so I need a solution that uses only the first DVD of this distribution.

View 10 Replies View Related

Debian Configuration :: Resizing Partitions - Put To The Root Partition

Jan 23, 2016

Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.

View 11 Replies View Related

Debian Configuration :: Mount Options Of Root Partition

Apr 28, 2016

I made a mistake in Gnome Disk utility tool. Instead of changing the options for a USB key, I changed the options of the root partition.

In Initial state, automatic options were desactivated. I just activated them. And after desactivacting them, I realized my mistake and switched back to "non automatic options".

By doing this, I suppose that defaults values were used since now, the system starts in command line mode and no more in graphic interface mode.

When I try the "startx" command, I get a "read-only" error.

With the command "sudo mount -o rw,remount /" the graphic interface is started.

Below is the configuration of the partition under the gnome disk utility tool :

"Mount at startup" is checked
"Show in user inteface" and "Require additional authorization to mount" are unchecked

Mount options : nosuid,nodev,nofail,x-gvfs-show
Mount point : /mnt/eb11d4d6-75db-XXXx-XXXx
Identify as : /dev/disk/by-uuid/eb11d4d6-75db-XXXx-XXXx
Filesystem type : auto

I do not want to change anything that could leat to a critical error. So what do you think I should do ?

View 1 Replies View Related

Debian Configuration :: Merge The Root And Home Partition?

Jan 18, 2011

I have the partition like below. Now i want merge the /home partition into /dev/sda1 partition .

[Code]...

View 4 Replies View Related

Debian :: Partition Layout - Primary Or Extended For Root Parition?

Mar 26, 2010

For a fresh installation using manual partitioning, one single disk (IDE).

If I selected:

For the root partition, I would like to use ext4, 10GB, but by default, the partition type 'extended' is suggested. Would there be any difference (advantages, inconveniences) if I selected the primary partition instead?

View 6 Replies View Related

Debian Configuration :: Copying / Moving Root Filesystem To Another Partition?

Mar 4, 2010

My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?

View 8 Replies View Related

Debian Installation :: Manually Booting From GRUB Console Into Crypt -> LVM -> Root

Feb 21, 2015

I'm trying to manually boot (from the GRUB console) into a system set up as follows: crypt partition -> LVM -> root LV, and I'm having some trouble figuring out how to do this from the GRUB console.

I have successfully manually booted a system which is set up as just LVM -> VG -> root LV. All I have to do is load the LVM module. In GRUB, that partition shows up as (hd0,gpt5). Once I load the GRUB LVM module, I can see the logical volume within the LVM as well. (My volume group name is "caesar", and the single logical volume is named "root".)

Code: Select allgrub> ls
... (hd0,gpt5) ...
grub> insmod lvm
grub> ls
... (lvm/caesar-root) ...

It's fairly simple to manually boot:

Code: Select allgrub> set root=(lvm/caesar-root)
grub> linux /vmlinuz root=/dev/mapper/caesar-root
grub> initrd /initrd.img
grub> boot

Where I am having difficulty is in trying to insert crypt before LVM. I can set up such a scheme, and put a minimal installation on it, without issues. It's booting into it upon reboot that I can't figure out. Once I load the GRUB crypto, cryptodisk and luks modules, I can mount the crypto partition:

Code: Select allgrub> ls
... (hd0,gpt5) ...
grub> insmod crypto
grub> insmod cryptodisk
grub> insmod luks
grub> cryptomount (hd0,gpt5)

Attempting to decrypt master key...
Enter passphrase for hd0,gpt5 (<long hex string here>): <type my password>
Slot 0 opened
grub> ls
... (crypto0) ...

At this point, GRUB sees the crypto partition as (crypto0). But the GRUB LVM module doesn't see "inside" of the crypto partition, so I don't see the root logical volume within the LVM listed; all I see is (crypto0).

Code: Select allgrub> insmod lvm
grub> ls
... (crypt0) ...

Setting it as root doesn't work:

Code: Select allgrub> set root=(crypto0)
grub> ls /
error: disk `crypto0' not found.

So, How do I get GRUB to "see" LVM inside the crypto partition?

View 0 Replies View Related

Debian Installation :: Keep Home And Var Partitions Intact And Just Reinstall Everything In Root (/) Partition

Apr 4, 2010

Ok. I have a media server running debian amd64. when I installed it I made separate partitions for root (/) home (/home) var (/var) and swap.

I'm adding some new hardware (mobo and ram) and want to reinstall debian. I would like to keep my home and var partitions intact and just reinstall everything in root (/) partition.

I'm unsure of how to do this during the installation. Do i need to format? how do I tell it to use the /var and /home partitions?

View 4 Replies View Related

Debian :: Grub 2 Autoconfiguring For The Wrong Partition

Jul 24, 2010

A while ago I moved partitions from sda1 to sda6 because the original partition wasnt big enough. So when I update grub (now grub 2) it resets everything to sda1 and I've no idea how its doing it. Does anyone know where grub 2 gets the default partition from or does it just select sda1 automatically?

View 3 Replies View Related

Debian Installation :: GRUB In Boot Partition?

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







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