Re: Subsume boot partition into root partition - how?
- From: "Rajko M." <kakomo123@xxxxxxxxxxxx>
- Date: Mon, 28 Jul 2008 20:25:34 -0500
Dave Royal wrote:
Rajko M. wrote:
...
dave@LEN:~> mount | grep boot
To give more detailed instructions, I would need output of command
mount | grep boot
that should show is /boot mounted, and
cat /etc/fstab
to see where is current boot and root partition.
/dev/sda5 on /boot type ext2 (rw,acl,user_xattr)
This means:
umount /boot
mount /dev/sda5 /mnt
cp -R /boot/* /boot/
Now you have /boot directory filled with files from /dev/sda5 .
In case of reboot nothing bad can happen, as originals are
still untouched.
Next is to edit /etc/fstab . I turned word wrap off to have
whole lines, not wrapped in a new line.
dave@LEN:~> cat /etc/fstab
Just in case:
cp /etc/fstab /etc/fstab-old
Comment out line with /boot .
I use Midnight Commander http://en.opensuse.org/Midnight_Commander
that has built in editor (key F4).
/dev/disk/by-id/scsi-SATA_HTS541060G9SA00_MPBCL5XGKMLL9T-part6 swap swap defaults 0 0
/dev/disk/by-id/scsi-SATA_HTS541060G9SA00_MPBCL5XGKMLL9T-part3 / ext3 acl,user_xattr 1 1
# /dev/disk/by-id/scsi-SATA_HTS541060G9SA00_MPBCL5XGKMLL9T-part5 /boot ext2 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_HTS541060G9SA00_MPBCL5XGKMLL9T-part7 /home ext3 acl,user_xattr 1 2
/dev/disk/by-id/scsi-SATA_HTS541060G9SA00_MPBCL5XGKMLL9T-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/sda8 /home/share vfat users,gid=users,umask=0002,utf8=true 0 0
More detailed instructions /would/ be appreciated.
Next is:
cp /boot/grub/menu.lst /boot/grub/menu.lst-old
and run YaST Bootloader to install new version of GRUB that will
point to / (dev/sdb3). Note that /dev/sdb3 is (hd0,2) in grub notation.
When done check /boot/grub/menu.lst is it looking sane.
If not post question.
--
Regards, Rajko
http://en.opensuse.org/Portal needs helpful hands.
.
- Follow-Ups:
- Re: Subsume boot partition into root partition - how?
- From: Dave Royal
- Re: Subsume boot partition into root partition - how?
- From: Kevin Nathan
- Re: Subsume boot partition into root partition - how?
- References:
- Subsume boot partition into root partition - how?
- From: Dave Royal
- Re: Subsume boot partition into root partition - how?
- From: Rajko M.
- Re: Subsume boot partition into root partition - how?
- From: Dave Royal
- Subsume boot partition into root partition - how?
- Prev by Date: Re: opensuse 11.0 nvidia direct rendering off
- Next by Date: Re: fetchmail not fetching spam with invalid email address
- Previous by thread: Re: Subsume boot partition into root partition - how?
- Next by thread: Re: Subsume boot partition into root partition - how?
- Index(es):
Relevant Pages
|